Sunday, November 6, 2022

Context sensitive help

One of the useful features of PyScripter has been the integration with the python help file.  For instance if you type in the editor

for i in range(100):

then place the cursor inside “range”and press F1, you get help on the “range” python object.

This integration requires the presence of the python HTML Help file (with extension “chm”)  in the “Doc” subdirectory of your Python installation.  Standard python distributions from python.org, included such file.   But, python 11 does not.  It only includes plain HTML documentation.   Other distributions such as Anaconda, don’t include any documentation. 

You can get the python 11 HTML Help file from this link.  Download and copy the file inside the Doc subdirectory of the python installation and context sensitive help will work as before.  You can also do the same with other python distributions missing the HTML Help file.

No comments: