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
--
http://mail.python.org/mailman/listinfo/python-list
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
--
http://mail.python.org/mailman/listinfo/python-list