发布时间:2017-09-06 15:18:34
data = urllib.parse.urlencode(value)response = urllib.request.urlopen ("http://id.qlteacher.com/",data)报错 “POST data should be bytes or an iterable of bytes”第一句改为:data = urllib.parse.urlencode(value).encode(eccoding="UTF-8") 解决......【阅读全文】