+ 3

What is the use of a decorator and how is it used ?

i am confused with this concept of decorator and i have never seen it in use by anyone in their codes.Is it any useful in python program.

21st Apr 2018, 11:47 AM
Gaurav
Gaurav - avatar
2 odpowiedzi
0
Here is an explanation of the decorator usage: https://code.sololearn.com/cD09ijlIS6Ev/?ref=app
7th Jun 2018, 2:06 AM
Denys Yeromenko
Denys Yeromenko - avatar