how to print all attributes of a python object code example Example: print items in object python def (myObject): print(vars(myObject))