python 查看一个对象或class可用的方法

内置函数:dir()

 

demo:

 

posted @ 2020-05-09 15:15  小嘉欣  阅读(1979)  评论(0编辑  收藏  举报