open default browser in python? code example
Example 1: how to change web browser in python
import webbrowser as wb
wb.register('chrome', None)
wb.open("https://www.google.com/")
Example 2: python open google
#Open google in python - MacOSX
import os
os.system("open https://google.com")