dynamic func. call

ajikoe at gmail.com ajikoe at gmail.com
Fri Feb 4 12:08:48 EST 2005


Try this:

def myfunc():
  print "helo"

s = "myfunc()"
a = eval(s)




More information about the Python-list mailing list