1
1965
On windows 10 you can use the following code to get the default browser name
from winreg import HKEY_CURRENT_USER, OpenKey, QueryValueEx
register_path = r'Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice'
with OpenKey(HKEY_CURRENT_USER, register_path) as key:
print(QueryValueEx(key, 'ProgId'))
('ChromeHTML', 1)
Wow This Truly works
I was hopeless that i could find this answer Thanx