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

YouTube

5 Essential Python Decorators - Tutorial and Examples

Tech with Tim via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Discover five essential Python decorators in this 20-minute tutorial. Learn the fundamental principles of decorators and their practical applications to enhance code efficiency. Explore @property, @staticmethod, @classmethod, @functools.cache, and @dataclass through real-world examples. Gain valuable insights into streamlining Python code and improving programming skills. Dive into each decorator's functionality, understanding their unique benefits and implementation techniques.

Syllabus

| What Is A Decorator?
| What You NEED To Know
| @property
| @staticmethod
| @classmethod
| @functools.cache
| @dataclass

Taught by

Tech With Tim

Reviews

Start your review of 5 Essential Python Decorators - Tutorial and Examples

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.