[Idle-dev] Windows Helpfiles
Hernan Martinez Foffani
hernan@orgmf.com.ar
Mon, 6 Jan 2003 19:32:51 +0100
[Guido]
>> pythlp.chm is a 3rd party add-on; it was never distributed as part of
>> Python for Windows, and probably never will (keeping it up to date
>> proved too much of a hassle). But as long as it is available as a
>> 3rd party add-on, I see no reason why IDLE couldn't look for it and
>> add a help item for it if it exists.
[Bruce]
> Hmm. What's the criterion for such a search? Is it possible that IDLE
> could look for the reference manual for the visual module? It is in
> the form of a folder named "visual" with a bunch of html files, and
> the starting location is "index.html". Obviously it should be
> searched for only if the visual module exists.
the patch, if I remember correctly, look for a file named 'pythlp.chm'
under the Python directory. if it's there it use that file as a
the python docs and it's open using os.startfile(). if it's not there
the standard Doc/index.html is triggered thru webbrowser.open()
regards,
-H.