[Tutor] getattr works sometimes

Tino Dai oberoc at gmail.com
Tue Oct 2 19:44:47 CEST 2012


Hi All,

      I'm using the get_class from:

http://stackoverflow.com/questions/452969/does-python-have-an-equivalent-to-java-class-forname

and the get_class class works sometime for finding modules within a
certain directory. If the get_class
doesn't work, it throws an AttributeError.

The module exists in the directory, and I'm trying to debug this. Does
anybody have any hints to go about debug
this?

-Tino


More information about the Tutor mailing list