Here's my code copied from another thread
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("user-data-dir=C:\Users\sc\AppData\Local\Google\Chrome\User Data\Default")
options.add_argument(r'--profile-directory="Default')
driver = webdriver.Chrome(executable_path=r"C:\Users\sc\Desktop\payment verification\chromedriver.exe", chrome_options=options)
driver.get("https://www.google.co.in")
I tried removing the r and adding the '', reinstalling chrome driver but this is the error that I keep facing
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 16-17: truncated \UXXXXXXXX escape