Accessing function in a module by name
John Nagle
nagle at animats.com
Thu Jun 7 00:32:23 EDT 2007
Tobiah wrote:
> Is there a way to call function in an imported
> module having only the name?
...
> I'm trying to set up a function dispatcher for a
> SOAP server.
Bad idea. This exposes all the functions of the
module to calls from the outside world. Big security hole.
In any case, SOAP servers should have a separate object for
each connection, or the thing will mess up if two requests
are made at the same time.
See
http://www.ibm.com/developerworks/library/ws-pyth5/
John Nagle
More information about the Python-list
mailing list