Printing attributes of a class

Published ยท Updated 10 Feb 2020

I should have known this:

print self.__dict__