[Python-ideas] Help mode improvement.

Sven Marnach sven at marnach.net
Tue Oct 11 13:34:27 CEST 2011


Steven D'Aprano schrieb am Di, 11. Okt 2011, um 12:39:31 +1100:
> A keyword search facility, familiar to Linux users as `man -k key`
> or `apropos key`, might be useful.

There already is "pydoc -k", also known as

    pydoc.help.listmodules(key="whatever")

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.

Cheers,
    Sven



More information about the Python-ideas mailing list