pydoc3 -b
Python comes with a command line tool for quick access to the documentation on your local machine. Among others you can show the docs for single functions as well as whole modules. With the command pydoc3 -b
you start an HTTP server on an arbitrary unused port and open a web browser to interactively browse documentation, which is shown in this screencast. Interestingly the b
option is not documented when you view the man page, but it is shown when you view the help page py typing pydoc3 -h
.
Featured Merch
Latest Posts
- Troubleshooting External Hard Drives on Linux
- How to Prevent SSH Timeout on Linux Systems
- Getting Started with Print-on-Demand Merchandise
- Understanding the Bash Fork Bomb: A Breakdown of :(){ :|:& };:
- 50 Must-Know Bash Commands for Linux & Unix Sysadmins
Featured Book
Subscribe to RSS Feed
This post was written by Ramiro Gómez (@yaph) and published on . Subscribe to the Geeksta RSS feed to be informed about new posts.
Tags: command line python screencast terminal
Disclosure: External links on this website may contain affiliate IDs, which means that I earn a commission if you make a purchase using these links. This allows me to offer hopefully valuable content for free while keeping this website sustainable. For more information, please see the disclosure section on the about page.