Python Decorators 101
Christopher Bailey
20 Lessons
1h 7m
intermediate
python
In this course on Python decorators, you’ll learn what they are and how to create and use them. Decorators provide a simple syntax for calling higher-order functions in Python. By definition, a decorator is a function that takes another function and extends the behavior of the latter function without explicitly modifying it.
Decorators Q&A; Transcript: Click here to get access to a 25-page chat log from our recent Python decorators Q&A; session in the Real Python Community Slack where we discussed common decorator questions.
Section 1: Functions
6 Lessons 13m
2. An Example Function 02:45
4. Inner Functions 02:37
6. Section 1 Review 00:56
Section 2: Decorators
8 Lessons 28m
1. Section 2 Overview 00:31
2. Simple Decorators 06:16
3. Syntactic Sugar 02:53
4. Reusing Decorators 02:37
7. Who Are You, Really? 05:45
8. Section 2 Review 01:20
About Christopher Bailey
Chris is an avid Pythonista and creates video tutorials for Real Python. He is a programmer and data analyst. He creates music under the name Tripnet. Chris lives in Colorado with his wife and two dogs.
» More about Christopher






acharya2chn on June 19, 2020
Thank you for this masterpiece! There is so much to understand and learn.