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
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.