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 Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s