程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python Python 】 【 help documentation

編輯:Python

Environment

System: win10 x64 21H2

Python version: V3.6.6

Questions

How do I open the python 3 help documentation?

Solution

1. Shortcut [win+r] to enter the cmd command to bring up the cmd command console.

2. Enter the following command.

python -m pydoc

View the -p parameter, the function is to open an http server locally, and the port can be specified.

3. Enter the following command

python -m pydoc -p 0

4. Enter the b command to start browser access; enter the q command to exit the http server.


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved