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

markturansky at gmail.com markturansky at gmail.com
Thu Jul 7 00:01:46 EDT 2005


'self' is not defined in this circumstance.  The poster above (using
'locals()') has it right.




More information about the Python-list mailing list