Python equivalent to perldoc?
bobx at linuxmail.org
Tue Sep 17 03:30:35 CEST 2002
Bob X wrote:
> In Perl you can run "perldoc warnings" and get the definition of what
> "warnings" does. Is there a equivalent in Python?
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
More information about the Python-list