美文网首页
查看python内部模块命令,内置函数,

查看python内部模块命令,内置函数,

作者: 木火_magic | 来源:发表于2019-05-26 12:12 被阅读0次

查看python已经安装的模块命令

可以用dir(modules)

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

或者用 python -m pydoc -p 1234
都能列出所有已经安装的模块


1、使用python -m pydoc -p 1234

image.png
在浏览器中打开http://localhost:1234/
如下图:
image.png

相关文章

网友评论

      本文标题:查看python内部模块命令,内置函数,

      本文链接:https://www.haomeiwen.com/subject/uppxtctx.html