Printing attributes of a class

Published

I should have known this:

print self.__dict__