Printing attributes of a class Published: Wednesday, Dec 26, 2007 Last modified: Wednesday, Feb 24, 2021 I should have known this: print self.__dict__ ←Previous Next→