dabase.com → Kai's Tech Tips → Python → Printing attributes of a class Printing attributes of a class Published: Wednesday, Dec 26, 2007 Last modified: Saturday, Mar 8, 2025 I should have known this: print self.__dict__ ←Previous Next→