← Go Back
How to Open a URL in the Web Browser
Using thewebbrowser.open()
standard function, which takes a URL address as argument and opens it in the system's default browser.import webbrowser
webbrowser.open("https://pythonassets.com")
🐍 You might also find interesting: