Turn string into function call

N Becker nbecker at fred.net
Fri Mar 8 08:45:52 EST 2002


What's the best way to turn a string naming a function into a function call?

I used this:
eval (funcname + '()')



More information about the Python-list mailing list