Printing attributes of a class

Wednesday, Dec 26, 2007

I should have known this:

print self.__dict__