how to get all attributes of a python object code example Example: python get attributes of object getattr(object, 'attribute_name')