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
- Python's Global Interpreter Lock (GIL): Understanding the Pros and Cons
- Profitable Freelance Writing: Top Niches & Success Advice
- Unlocking the Potential of Podcasting as a Profitable Online Venture
- Effective Strategies for Prompting AI Language Models
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.