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/')
Are there any code examples left?
New code examples in category Python