Question: 如何查看正则表达式模块re及其相关函数的意义 1.终端命令行下 python >> import sys >> sys.modules ################################### 一长串信息中字段modules对应的模块即为包含的模块. ################################### >> import re >> help(re) Help on module re: NAME re
查看模块帮助文档: help(len) -- docs for the built in len function (note here you type "len" not "len()" which would be a call to the function) help(sys) -- overview docs for the sys module (must do an "import sys" first) dir(sys) --