calling method on dynamically loaded module

Kragen Sitaker kragen at
Mon Nov 26 23:20:29 CET 2001

"Eric Cifreo" <ecifreo at> writes:
>     meth = getattr(mymod, "perform")

I think this line reads meth = getattr(mymod, "perform()") in the code
that gives you the following error, and that's your problem.

> exceptions.AttributeError 'snmp_mod' module has no attribute 'perform()'


More information about the Python-list mailing list