Decorators in Python - Advanced Python 13 - Programming Tutorial

Published: 15 July 2019
on channel: Patrick Loeber
44,806
961

Decorators in Python - Advanced Python 13 - Programming Tutorial

In this Python Advanced Tutorial, we will be learning about Decorators in Python. A decorator is a function that takes another function and extends the behavior of this function without explicitly modifying it. It's a very powerful tool for advanced programmers. In this tutorial, I show you the concept behind decorators, how you can write your own decorators, the difference between function and class decorators, and some typical use cases.

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtu... *

📚 Get my FREE NumPy Handbook:
https://www.python-engineer.com/numpy...

📓 Notebooks available on Patreon:
  / patrickloeber  

⭐ Join Our Discord :   / discord  

A written Tutorial can be found here:
https://www.python-engineer.com/cours...

You can find me here:
Website: https://www.python-engineer.com
Twitter:   / patloeber  
GitHub: https://github.com/patrickloeber

#Python

----------------------------------------------------------------------------------------------------------
This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏