[Baypiggies] Decorators

Fernando Perez fperez.net at gmail.com
Mon Jul 19 21:41:39 CEST 2010


Howdy,

On Mon, Jul 19, 2010 at 11:49 AM,  <Reitmeyer_Richard at emc.com> wrote:
> Glen Jarvis wrote:
>
>> I'm trying to put together a very *very* basic
>> introduction to decorators.  This has been done before
>> (several times), so I know there is no silver bullet.
>>
>> What I'm focusing on is: examples of decorators -- from a
>> user perspective -- not how to write one, but how to use
>> one.
>>
>> Could you send any examples (off-list) (either real or
>> fictional) that you would use to help explain to a friend
>> "This is a decorator for your use."  (again, currently
>> avoiding the conversation on how to write one).

Not necessarily the most obvious use of decorators, but you may find
this useful:

http://fperez.org/py4science/decorators.html

Cheers,

f


More information about the Baypiggies mailing list