code to change default browser to chrome in web browser module

80

code to change default browser to chrome in web browser module -

import webbrowser
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'
webbrowser.get(chrome_path).open('http://docs.python.org/')

Comments

Submit
0 Comments