Message415848
In the IDLE Help menu, 'Python Docs', default hotkey 'F1', invokes '<<python-docs>>', which is handled by EditorWindow.help_docs. For Windows, line 599, is 'os.startfile(self.help_url)'. (Otherwise, webbrowser is used.) On Windows, help_url is os.path.join(sys.base_prefix, 'Doc','Python%s.chm' % _sphinx_version())
if the result is valid, else python.org/...(but '3.1' because only 3 chars are grabbed).
How do I use winreg to get the file name from
"HKCU\Software\Python\PythonCore\{sys.winver}\Help\Main Python Documentation"?
The winreg doc assumes some knowledge of registry terminology that I do not have and has no examples, so my attempts failed. |
|
Date |
User |
Action |
Args |
2022-03-23 01:54:33 | terry.reedy | set | recipients:
+ terry.reedy, paul.moore, tim.golden, ned.deily, zach.ware, steve.dower, mdk |
2022-03-23 01:54:33 | terry.reedy | set | messageid: <1648000473.26.0.918393813267.issue47086@roundup.psfhosted.org> |
2022-03-23 01:54:33 | terry.reedy | link | issue47086 messages |
2022-03-23 01:54:33 | terry.reedy | create | |
|