Making use of pydoc web server

Just a reminder here of pydoc, the python documentation tool which comes with python.  You can access documentation on any keyword, topic, function, or module file typing:

pydoc <name>

However, my favorite use, and its most powerful feature is the builtin http server.  This makes all of the python documentation easily accessible using your web browser.  To open an http server on your local machine port 9999:

pydoc -p 9999

Then just open your web browser to http://localhost:9999/

Screenshot from 2013-01-28 17:09:09

This is a helpful resource when you are working in python.

Leave a comment