I'm trying to write a spambot for my google form mutiple choice questions so I can get random answers for a homework assignment. I tried writing it fully by myself but I couldn't. So i found a pre-written code: (https://github.com/endeneer1/google-form-autofilling-spam-bot-using-Python-multiple-choice-questions/blob/master/google-form-spambot.py) and after 4 hours of installing selenium i got a most of it working except the links for the assets i need to use. It keeps on saying
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
no matter what i do,I looked on similar cases but I can't find the answer. Please help I have been doing this for 9 hours. By the way I code on Pycharm.
import time
import random
from selenium import webdriver
chromedriver = "C:\Users\LORD\Desktop\max spam junk\chromedriver")
driver = webdriver.chrome(chromedriver)
Normally it should open a google page and put in the link of the google form, and then fill it in with random answers but it won't work because of unicode stuff. Here is the error C:\python\python.exe "C:/mblock python junk/gg.py" File "C:/mblock python junk/gg.py", line 5 chromedriver.encode("C:\Users\LORD\Desktop\max spam junk\chromedriver") ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Process finished with exit code
And as I said the full code is at the link here(https://github.com/endeneer1/google-form-autofilling-spam-bot-using-Python-multiple-choice-questions/blob/master/google-form-spambot.py)