Exploring Attributes and Methods

keios.titan at gmail.com keios.titan at gmail.com
Thu Mar 6 14:14:54 EST 2008


Hi,
 Is there a python command that allows me to extract the names (not
values) of the attributes of a class.

example

Class Sample:
    fullname = 'Something'

How can I know that this class has an attribute called 'fullname'?

I hope my question is clear.
Thanks





More information about the Python-list mailing list