code to change default browser to chrome in web browser module code example
Example: 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/')