DEV Community

loading...

Demystifying usage of Decorators in Python with Examples (video)

The Nerdy Dev
Building products is my profession, Creating content is my passion. We believe that Education should be freely accessible to everyone and no one should be deprived of it.
・1 min read

In this video, we will learn about decorators in Python. We will first see what are decorators and how they can be defined using an example for computing the execution time of certain functions like recursive implementation of factorial function and summing up numbers of a list. The code for the video can be found on GitHub.


Follow me on:
πŸ‘‰ Twitter: https://twitter.com/thenerdydev
πŸ‘‰ Instagram: https://instagram.com/thenerdydev

Discussion (0)