[Python-Dev] pydoc.py (show docs both inside and outside of Python)

Jack Jansen jack@oratrix.nl
Fri, 12 Jan 2001 10:57:27 +0100


> I'm pleased to announce a reasonable first pass at a documentation
> utility for interactive use.  "pydoc" is usable in three ways:
[...]
> I would very much appreciate your feedback, especially from testing
> on non-Unix platforms.  Thank you!

Wow, I'm impressed!

To make it run on the mac I had to add tests for the existence of os.system 
only. (So all statements "if os.system(...) > 0:" got to be "if hasattr(os, 
"system") and os.system(...) > 0:").

There are however various other niceties that could be added to make it more 
useful, can this be put into the repository or something?
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm