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