How to use pydoc?
Kent Johnson
kent at kentsjohnson.com
Fri Dec 16 14:51:51 EST 2005
newsposter at cox.net wrote:
> Thanks for replying Peter, but none of your suggestions are working.
>
> S:\projects\C2PC\src>python -m
> Unknown option: -m
> usage: python [option] ... [-c cmd | file | -] [arg] ...
The -m option was added in Python 2.4, you must have an older version (though your OP
shows 2.4.2...). Try
python c:\python23\Lib\pydoc.py sys
or whatever the correct path is to python on your system.
>
> I should also be able to run 'pydoc -g' to start a webserver.
python c:\python23\Lib\pydoc.py -g
or Start / Programs / Python 2.x / Module docs
Kent
> I guess I will have to write the author of pydoc for an answer.
>
> Chris
>
More information about the Python-list
mailing list