Defining new functions at runtime
Chandan Shanbhag
cshanbha at uiuc.edu
Wed May 1 11:51:34 EDT 2002
I am writing a GUI interface to a database using tkinter. Now, I want to
provide a facility where a user can define python functions using the GUI
and then run them in the same runtime environment. so, a normal function
needs to be treated like a method object.
Is this possible? Can I treat functions as first class objects? Can
somebody please guide me as to how I could accomplish this?
Thanks
Chandan
More information about the Python-list
mailing list