Chapter XVI: Development Tools -pydoc: module online help -HTML Help

16.1.2 HTML Help
pydoc can also generate HTML output, you could write a static file to a local directory, a Web server or start browsing online documentation.
Here Insert Picture Description
The preceding code creates atexit.html in the current directory.
Here Insert Picture Description
The above code will launch a Web server listens on http: // localhost: 5000 /. The server will dynamically generate documents when you browse. Using the b command can automatically open a browser window, use q will stop the server.

Guess you like

Origin blog.csdn.net/weixin_43193719/article/details/94960412