SyntaxFix
Write A Post
Hire A Developer
Questions
You can use dir(your_object) to get the attributes and getattr(your_object, your_object_attr) to get the values
dir(your_object)
getattr(your_object, your_object_attr)
usage :
for att in dir(your_object): print (att, getattr(your_object,att))