On Mar 6, 2:59 pm, Johny <pyt... at hope.cz> wrote: > Hi, > Can anyone explain to me what are decorators for? What are advantages > of using them? > Thanks > L. See http://pypi.python.org/pypi/decorator for many examples of useful decorators, or the references in the Wikipedia page: http://en.wikipedia.org/wiki/Python_syntax_and_semantics#Decorators