is there an equivalent of javascript's this["myMethod"] for the currently running script?
Gregory Bond
gnb at itga.com.au
Wed Jul 6 00:29:18 EDT 2005
markturansky at gmail.com wrote:
> I'd like to dynamically find and invoke a method in a Python CGI.
>
boundmeth = obj.meth # nb: no ()
# stuff.....
boundmeth() # call it, with args if needed
More information about the Python-list
mailing list