Python equivalent to perldoc?

DG david at fielden.com.au
Wed Sep 18 00:34:23 CEST 2002


The contents of my f:\python22\pydoc.bat file:

@f:\python22\python f:\python22\lib\pydoc.py %1 %2 %3 %4 %5 %6 %7 %8 %9

Rowdy

> Well...I found "pydoc". However I have to explicitly tell python to 
> execute it on Windows XP. I cannot type "pydoc sys" nor "python pydoc 
> sys" but I have to type "c:\python22\libs\pydoc sys" to get 
> it to work. 
> Shouldn't Python know its own libs? Or at least put the "libs" in the 
> ENV variable?
> 
> Bob





More information about the Python-list mailing list