Introduction to Python Decorators
artima.com
Introduction to Python Decorators
1–10 of 15 posts
Re: Introduction to Python Decorators
#2http://stackoverflow.com/questions/739654/understanding-pyth...
Re: Introduction to Python Decorators
#3An excellent tutorial/answer about python decorators was posted on stack overflow: http://stackoverflow.com/questions/739654/understanding-pyth...
Re: Introduction to Python Decorators
#4An excellent tutorial/answer about python decorators was posted on stack overflow: http://stackoverflow.com/questions/739654/understanding-pyth...
I would recommend the posted link for a first introduction -- it's short, explains decorators as clearly but more approachably, and talks about their application to classes, something the SO answer misses.
Re: Introduction to Python Decorators
#5Re: Introduction to Python Decorators
#6Just me, or do others think any tutorial about python decorators ought to introduce and encourage the use of functools.wraps() ?
Re: Introduction to Python Decorators
#7Re: Introduction to Python Decorators
#8An excellent tutorial/answer about python decorators was posted on stack overflow: http://stackoverflow.com/questions/739654/understanding-pyth...
Re: Introduction to Python Decorators
#9Mind you, I truly love Python decorators, but I just don't think the comparison to languages like LISP quite holds up. Maybe I'm just inexperienced, though...