Searching docs (was Re: Logging)

Brett g Porter bgporter at acm.org
Thu Dec 18 10:00:05 EST 2003


Pieter Claerhout wrote:
> You can search through the docs on:
> http://web.pydoc.org/

You can also torque up pydoc as a local http server by starting it with 
the command line

python pydoc.py -p <port#>

...then point your browser to http://localhost:<port#>

Running pydoc locally has the advantage that it also lets you poke 
through all the python modules and packages that are on your system. It 
has the other advantage that it encourages you (well, me, anyway) to 
write better docstrings...

The disadvantage is that it doesn't offer a search facility. Perhaps 
some combination of pydoc and LuPy wouldn't be too hard to make happen...





More information about the Python-list mailing list