How to opena a website using python code example Example: how to open a website in python import webbrowser webbrowser.open('https://www.google.co.uk/')