print object data in python code example
Example 1: print items in object python
def (myObject):
print(vars(myObject))
Example 2: python print object
print(dir(your_variable))
print(vars(your_variable))
def (myObject):
print(vars(myObject))
print(dir(your_variable))
print(vars(your_variable))