查看python内部模块命令,内置函数,查看python已经安装的模块命令

查看python内部模块命令,内置函数,查看python已经安装的模块命令

可以用dir(modules)

或者用 pip list
或者用 help('modules')

或者用 python -m pydoc -p 1234

都能列出所有已经安装的模块

原文地址:https://www.cnblogs.com/zdz8207/p/python_learn_note_111.html