From the course: Python: Decorators

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Experiment with decorators in Python

Experiment with decorators in Python - Python Tutorial

From the course: Python: Decorators

Start my 1-month free trial

Experiment with decorators in Python

- [Instructor] Now that you've got a pretty good overview of decorators, I'm hoping that you want to experiment with them. Here are a couple of built-in functions in the standard Python library that use decorators. So we've got the property decorator, we've got the static method decorator, and we've got the class method decorator. Go ahead and try and see if you can make sense of how you use them from the documentation. We've also taken a look at the flask module. Take a look at the code for the flask module. In particular, app.py. How have decorators been used here? Well, I hope you found this course helpful. Thanks for watching and I'd love to hear back from you and to connect via LinkedIn. Thank you and Soli Deo Gloria.

Contents