Accessing function in a module by name

Tobiah toby at
Thu Jun 7 00:13:57 CEST 2007

Is there a way to call function in an imported
module having only the name?

func_name = 'doit'

real_func = foo.some_magic(func_name)

#Now call it

I'm trying to set up a function dispatcher for a
SOAP server.



Posted via a free Usenet account from

More information about the Python-list mailing list