在python自带的Command Line中: 1. 查找一个模块拥有的方法 import 模块名 help(模块名) or dir(模块名) 2. 查找一个模块拥有的方法 import 模块名 help(模块名.函数名) or dir(模块名.函数名) help(模块名.类名.函数名) or dir(模块名.类名.函数名) 示例:查找一个模块拥有的方法(os.path.isfile) 相关文章: 2021-07-11 2021-09-14 2021-08-16 2022-12-23 2022-12-23 2021-10-05 2021-06-25 2022-02-08