I am trying to submit a form on this page using Mechanize.
br.open("http://mspc.bii.a-star.edu.sg/tankp/run_depth.html")
However, this gives the following error:
mechanize._form.ParseError: expected name token at '<! INPUT PDB FILE>\n\t'
I believe this is due to some inappropriate character encoding (ref) . I would like to know how to fix this.
source share