how to see attributes of python object code example
Example 1: get object attributes python
for att in dir(your_object):
print (att, getattr(your_object,att))
Example 2: python get attributes of object
getattr(object, 'attribute_name')
for att in dir(your_object):
print (att, getattr(your_object,att))
getattr(object, 'attribute_name')