Sunday, August 14, 2011

Python Documentation

If you installed Python along with documentation. Here is the command to get the list of modules and its functionalities(docs).

pydoc -p <port_number>

Now you can view the documentation with the help of browser by entering the URL as "http://localhost:<port_number>/" the port_number is the number which is mentioned in the command

Example: pydoc -p 8080

For the above command documentation is avail in "http://localhost:8080/" address.

No comments:

Post a Comment