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