Parse Error while using Mechanize in Python
问题 I am trying to select a form on a Dell Kace ticketing page but am getting a parse error. I am programing in python and have been using mechanize. I was successfully able to login to the site. I read that you might be able to fix this with html cleaners like Beautiful soup but none of those seemed to work. br = mechanize.Browser() #have tried the various html cleaner options in mechanize cj = cookielib.LWPCookieJar() br.set_cookiejar(cj) br.set_handle_equiv(True) br.set_handle_redirect(True)