Message415824
For the registry key, reading the default value from key "HKCU\Software\Python\PythonCore\{sys.winver}\Help\Main Python Documentation" (or HKLM - no need to worry about the Wow6432Node bit here) and passing it to os.startfile() will work for all active releases.
If the key is missing, so are the local docs, so falling back to the web docs is a fine option. |
|
Date |
User |
Action |
Args |
2022-03-22 22:06:41 | steve.dower | set | recipients:
+ steve.dower, terry.reedy, paul.moore, tim.golden, ned.deily, zach.ware, mdk |
2022-03-22 22:06:41 | steve.dower | set | messageid: <1647986801.61.0.267069224357.issue47086@roundup.psfhosted.org> |
2022-03-22 22:06:41 | steve.dower | link | issue47086 messages |
2022-03-22 22:06:41 | steve.dower | create | |
|