I'd like to dynamically find and invoke a method in a Python CGI.

In javascript, the running script is 'this' (Python's 'self'), except
that 'self' is not defined.

I want to do this:

var m = this["MethodName"];  //where the method name is passed via an
http variable
m();  //this invokes a method in javascript

How do I do the same in python?

self["MethodName"] fails...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to