is there an equivalent of javascript's this["myMethod"] for the currently running script?

Gregory Bond gnb at
Wed Jul 6 06:29:18 CEST 2005

markturansky at 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