哪里能买到vx小号,python+requests——URL的编码和解码

哪里能买到vx小号,python+requests——URL的编码和解码

from urllib.parse import quote,unquote

d = {'lang':'python','type':'testing','ccountry':quote('中国')}

print(d) #执行结果:{'lang': 'python', 'type': 'testing', 'ccountry': '%E4%B8%AD%E5%9B%BD'}

print(unquote('%E4%B8%AD%E5%9B%BD')) #执行结果:中国

上一篇:Mocks Aren't Stubs


下一篇:多测师课堂006_测试分类_(上)高级讲师肖sir