在python自带的Command Line中: 1. 查找一个模块拥有的方法 import 模块名 help(模块名) or dir(模块名) 2. 查找一个模块拥有的方法 import 模块名 help(模块名.函数名) or dir(模块名.函数名) help(模块名.类名.函数名) or dir(模块名.类名.函数名) 示例:查找一个模块拥有的方法(os.path.isfile) 相关文章: