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

内置函数:dir()

demo:

原文地址:https://www.cnblogs.com/sunshine-blog/p/12857656.html