anonymous function objects?
- From: Uwe Mayer <merkosh@xxxxxxxxx>
- Date: Thu, 28 Apr 2005 14:24:30 +0200
Is it possible to specify anonymous functions, something like:
>>> f = {print "hello world"}
>>> f()
hello world
in Pyton?
Lambda expressions don't work here.
Thanks,
Uwe
.
- Follow-Ups:
- Re: anonymous function objects?
- From: Paul Rubin
- Re: anonymous function objects?
- Prev by Date: Re: Setting win32 console title from Python
- Next by Date: logging problems
- Previous by thread: Getting a list of classes in the current module/auto introspection
- Next by thread: Re: anonymous function objects?
- Index(es):
Relevant Pages
|