摘要: encode('utf-8').decode('unicode_escape') 阅读全文
posted @ 2019-06-15 15:51 乔儿 阅读(790) 评论(0) 推荐(0) 编辑
摘要: import urllib,requests a = "height%22%3A40%2C%22urldecode转中文" b = urllib.parse.unquote(a) print(b) c = "中文转urlencode" d = urllib.parse.quote(c) print(d) 阅读全文
posted @ 2019-06-15 11:32 乔儿 阅读(1246) 评论(0) 推荐(0) 编辑