MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 16 lectures (52m) | Size: 197 MB
Learn All About Python Decorators
What you’ll learn:
Learn how to develop decorators in Python
Working with functions in Python
Beautifying output HTML styling
Using decorators with arguments
Using decorators with classes
Basic knowledge of Python programming language
In this course, you will learn all about decorators and how to develop decorators in Python.
Decorators allow you to make simple modifications to callable objects like functions, methods, or classes.. Decorators are very powerful and useful tool in Python since it allows programmers to modify the behavior of function or class. Decorators allow us to wrap another function in order to extend the behavior of the wrapped function, without permanently modifying it.
A decorator is a design pattern in Python that allows a user to add new functionality to an existing object without modifying its structure. Decorators are usually called before the definition of a function you want to decorate.
In this course, you will learn what decorators are and why they are used so extensively in production projects. We’ll get into 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.
By the end of this course you will have a solid understanding of how to use Python decorators.
Who this course is for