listing attributes

Thomas Girod girodt at gmail.com
Mon Feb 13 21:37:23 EST 2006


Hi there.

I'm trying to get a list of attributes from a class. The dir() function
seems to be convenient, but unfortunately it lists to much - i don't
need the methods, neither the built-in variables.

In fact, all my variables are referencing to objects of the same type.
Can anyone suggest me a way to get this list of variables ?

Thanks

Thomas




More information about the Python-list mailing list