[Python-ideas] Help mode improvement.

Ron Adam ron3200 at gmail.com
Tue Oct 11 16:58:35 CEST 2011


On Tue, 2011-10-11 at 13:23 +0100, Sven Marnach wrote:
> Sven Marnach schrieb am Di, 11. Okt 2011, um 12:34:27 +0100:
> > And there are some special topics like
> > 
> >     help("DICTIONARIES")
> > 
> > for an introduction to dictionaries.  I wonder if anybody *ever* found
> > that documentation from the interactive prompt.  There would certainly
> > be a point in advertising this documentation somehow when entering the
> > interactive help prompt.
> 
> I just noticed that these topics *are* advertised in the interactive
> help prompt, and can be listed by entering "topics".  Apparently I
> never read the introduction text carefully enough.
> 
> There is also keyword-based module searching by entering 
> 
>     modules [keyword]

The help function lives in the pydoc module.


Try this if you are using python 3.1 or later.  It's a very nice way to
look through pythons library.

>>> import pydoc
>>> pydoc.browse()

Cheers,
   Ron


> at the help prompt.
> 
> Sorry for the noise,
>     Sven
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas





More information about the Python-ideas mailing list