get object properties python code example Example: get object attributes python for att in dir(your_object): print (att, getattr(your_object,att))