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