Reference: https://docs.python.org/3/library/webbrowser.html.
import webbrowser webbrowser.open("http://www.google.com")
Last updated 5 years ago