摘要:
formdata = {'...': '...', '......': '......', '......': '......'}HEADERS = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKi 阅读全文
摘要:
json库 字符串和字典的转换 x = json.loads(y) 把y字符串变成x字典 x = json.dumps(y) 把y字典变成字符串 Unicode编码输出 print x.encode('utf-8') Python 以字符串的形式导入模块 HTTP常见状态码 200 – 服务器成功返 阅读全文