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

Gregory Bond gnb at itga.com.au
Wed Jul 6 06:29:18 CEST 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