AttributeError: How to list existing attributes?

Thomas Guettler guettli.usenet at
Wed Sep 19 11:32:27 CEST 2007


how can you list the attributes of an object if you catch an

I couldn't find a reference in the exception object, which
points to the object.

I want to call dir() on the object to list the user the known

Is there a way to find the object by inspecting the stacktrace?


Thomas Güttler,
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: niemand.leermann at

More information about the Python-list mailing list