Apr-20-2018, 05:05 PM
Hi guys
I have small problem in python.I'm getting this error:
I have small problem in python.I'm getting this error:
Error:"POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str."
in this line:response = self.br.open(loginform_url, data=urllib.parse.urlencode({'login':self.name, 'password':self.password}), timeout=35)Thanks