• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 2

What is the use of decorators

i don't get a proper idea how and where to use them ..

pythonclasses
19th Mar 2017, 1:00 PM
Satwik Dondapati
Satwik Dondapati - avatar
2 Réponses
+ 6
check out these links: https://www.programiz.com/JUMP_LINK__&&__python__&&__JUMP_LINK-programming/decorator https://www.oreilly.com/ideas/5-reasons-you-need-to-learn-to-write-python-decorators http://stackoverflow.com/questions/489720/what-are-some-common-uses-for-python-decorators
19th Mar 2017, 2:00 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 2
Here is an example of what a decorator may be useful for: https://code.sololearn.com/cD09ijlIS6Ev/?ref=app
25th Mar 2018, 4:32 PM
Denys Yeromenko
Denys Yeromenko - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How to do a responsive page?
1 Votes
Running a python code
2 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
How create a new language ?
0 Votes
Is there any debugging practice here or not?
1 Votes
Hola
0 Votes
Ai in future
1 Votes
Issue with Sololearn Module Quiz Despite Correct Answers
1 Votes
How To Enable Disable Divs?
0 Votes