python skill

1. dir(object), return the attributes of the object

 

2. obj.__dict__ , return the attributes of a object

posted @ 2019-04-26 14:21  redstar9451  阅读(115)  评论(0编辑  收藏  举报