Python Object Attributes and Methods
dir() function returns list of all object attributes. pprint() method provides pretty formatted object representation. getattr() function retrieves attribute values with default values. __dict__ attribute returns dictionary of object properties and values. vars() function returns __dict__ of objects with __dict__ attribute
- bobbyhadz.com