how to print attributes of an object in python code example Example: python display object attributes object_name.__dict__