Python Decorators - Visually Explained

Publié le: 25 novembre 2025
sur la chaîne: Visually Explained
308,817
14k

🔵 Resources & Further Learning
*args vs **kwargs - Visually Explained:    • Python *args vs **kwargs - Visually Explained  
Practice notebook → https://go.visuallyexplained.co/decor...

🔵 Gear We Use (Affiliate Links)
Background hexagon lights (Amazon) → https://go.visuallyexplained.co/0ug
Tea jars (Amazon) → https://go.visuallyexplained.co/zx7
Python basics book (Amazon) → https://go.visuallyexplained.co/f757ff

🔵 Python Decorators
Learn how Python decorators really work by watching us build one from scratch—starting with a simple timing wrapper and gradually extending it to handle arguments, keyword arguments, and return values. By the end, you’ll understand how decorators let you add powerful features to functions without changing their original code, making your programs cleaner, more flexible, and easier to reuse.

🔵 Chapters
00:00 How do decorators work?
01:02 Why use decorators?
02:58 Creating a decorator in code
04:35 Applying decorators
07:25 Decorating functions with parameters
13:57 Decorating functions with return values

#Python #PythonTutorial #LearnPython #Decorators #PythonDecorators


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Decorators - Visually Explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Visually Explained 25 novembre 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 308,817 fois et il a aimé 14 mille téléspectateurs. Bon visionnage!