Steve Dower <steve.do...@python.org> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com