• 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
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Rise of AI
1 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes