How to Open a URL in Your Browser From a Python Script?
To open a URL in your standard browser (Win, macOS, Linux) from your Python script, e.g., call webbrowser.open(‘https://google.com’) to open Google. Don’t forget to run import webbrowser first. But you don’t have to install the module because it’s already in Python’s standard library. Example Here’s an example Python script that opens the URL ‘https://finxter.com’: A … Read more