how to open a website with selenium python

from selenium import webdriver

PATH = 'Path to web browser driver...'
driver = webdriver.Chrome(PATH) # Selenium also supports edge and firefox
driver.get("url to website")

Here is what the above code is Doing:
1. Importing the webdriver module from selenium.
2. Creating a driver variable that will hold the web browser driver.
3. Opening the web browser and navigating to the desired website.