START docreader.py – read Python HTML docs from the command line.
docreader builds a dictionary of terms from the index of the Python Library HTML documentation. The user is prompted to enter a term. If there is only one entry for the term, the section of the relevant document node is displayed. If there is more than one entry, a numbered list of index entries for that term is displayed. Individual entries can be read by entering the list item number. docreader will exit if a null string is entered as a search term. Setup: The global variables docdir, contents_doc and pager must be set according to your particular configuration. Changes: 14-Mar-1998 Created 15-Mar-1998 Added MyWriter class taken from Tony Ibbs 'html2text.py' Jim Eggleston email@example.com@firstname.lastname@example.org
Change these according to your configuration (This is now done in the shell class
Definition at line 51 of file GMatH_docindex.py.