Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Decorators - Power UP Your Python Code

PyCon US via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial explains Python decorators through first-class functions, function references, and function factories. Learners practice defining decorators and applying them to add capabilities to code.

Syllabus

Introduction
What are decorators
Functions are first class objects
Function references
Function factories
Decorators
Reverse Factory
Exercise
Solution
Unpacking of Lists
Exercise 2 Return Values
Exercise 3 Stack Reader
Defining Decorators

Taught by

PyCon US

Reviews

Start your review of Introduction to Decorators - Power UP Your Python Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.