System: win10 x64 21H2
Python version: V3.6.6
How do I open the python 3 help documentation?
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.