DEV Community

loading...

Demystifying usage of Decorators in Python with Examples (video)

thenerdydev profile image The Nerdy Dev ・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)

pic
Editor guide