sending a function on the fly?

Peter Bismuti peterb at cortland.com
Wed Nov 14 17:22:36 CET 2001


In ECMAscript you can send a function as an argument that is defined on the
fly such as:

callMyFunction( new Function(){ blah blah })

Something like that. Here the function has not been named and was not
defined outside of the call.   Can this be done in Python?

Thanks





More information about the Python-list mailing list