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
- How Limiting My Internet Usage Changed the Way I Work and Live
- Practical Tips to Reduce Data Usage on Phones, Tablets, and Computers
- Fail2ban Cheat Sheet for Sysadmins
- Build Mental Resilience: A 30-Day Challenge Inspired by Science
- Setting Up Google Drive Backups on Ubuntu with rclone
Featured Book

Subscribe to RSS Feed
Published by Ramiro Gómez on . Subscribe to the Geeksta RSS feed to be informed about new posts.
Tags: terminal python screencast command line
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.