print all values stored for attributes of object in python code example Example: print items in object python def (myObject): print(vars(myObject))