import sqlite3 # 你想要学习的模块,或者不了解的 import sys # 通过sys.stdoct 将 help()查询到的内容导出 sys.stdout = open('1.txt','a+') help(sqlite3.Cursor) 拆分 help方法 通过 terminal查询 执行上述代码得到的结果 结果一样,我还保存成了txt文件,方便阅读