Aljosa Mohorovic wrote:
can i do something like this:

s = "myFunction"
a = s() # equals to: a = myFunction()



a = locals()[x]()

locals() returns a dictionary with string keys that you can use

--
--------------------------------------
 Ola Natvig <[EMAIL PROTECTED]>
 infoSense AS / development
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to