Convenient Online Documentation?

Uriel Wittenberg list at urielw.com
Tue May 27 10:11:20 EDT 2003


Sorry! The following now works:

 >>> from pydoc import help
 >>> help()


(Don't know what happened before.)

>the dos prompt in my win98, don't know if that exists in WinXP?-

Yes, it does.

>python -c "import pydoc;pydoc.gui()"

OK, that does the same thing as when I run "Module docs" on the
Start/programs/Python menu in windows. (The target for that menu item is
C:\Python22\pythonw.exe "C:\Python22\Tools\Scripts\pydocgui.pyw".)

Thanks for your pointers -- I will check out those documentation tools.

----- Original Message ----- 
From: "Raseliarison nirinA" <nirina at mail.blueline.mg>
To: "Uriel Wittenberg"
Sent: Tuesday, May 27, 2003 6:37 AM
Subject: Re: Convenient Online Documentation?


Hello!
you may be reply to the Python mailing-list too.

"Uriel Wittenberg"  writes:

> ??
>
> That doesn't do anything.

what doesn't do anything ?
i don't have and don't kwon what WinXP Home is, but in a shell - the dos
prompt in my win98, don't know if that exists in WinXP?-
if you type:

    python -c "import pydoc;pydoc.gui()"
it starts a pydoc windows with a search dialog box, and a button for
browsing

    python pydoc.py -w string
it will create a file 'string.html', like a manual page for string module


>
> --when I do:
>
> or in a Python interpreter,
>  >>> from pydoc import help
>  >>> help()
>
>

for me with a win98 box, the PythonWin interpreter this create a search
dialog box and results :

PythonWin 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2001 Mark Hammond (MarkH at ActiveState.com) - see
'Help/About PythonWin' for further copyright information.
>>> from pydoc import help
>>> help()

Welcome to Python 2.1!  This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://www.python.org/doc/tut/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics".  Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".

help>

again, send your reply to the mailing-list, i assure you pydoc must work as
it is a part of standard Python Library. but as i don't use heavily
PythonWin, neither my win98 box, i cannot satisfy you if the issues are
specific for vanilla distributions. people in the list with identical
operating system may respond to you why 'from pydoc import help' doesn't
work?

is there really no output? no error?
or does it leave traceback? what ?

yours,
nirinA






More information about the Python-list mailing list