python skill 1. dir(object), return the attributes of the object 2. obj.__dict__ , return the attributes of a object