Decorators are an increasingly important feature in Python. They add functionality to an existing object without permanently modifying it. Being able to use decorators effectively is critical to working with larger Python projects and frameworks. In this course, Jonathan Fernandes explains what decorators are and why they are used so extensively in production projects. He explains how to solve common challenges associated with decorators, such as debugging; how to chain decorators; how to use decorators with classes; and how to access the arguments passed into decorated functions. Plus, find out how to use and debug decorators in the real world by examining decorators' role in the source code for the Flask microplatform.
Ausleihstatus des eMediums wird abgefragt...
Dieses Medium ist ein elektronisches Medium (eLearning). Sie können dieses
Medium im eMedien-Portal Ihrer Bibliothek ansehen, entleihen oder vormerken.
Zum Download / Zur
Anzeige