from urllib import request
from urllib import parse
#对已编码的文件进行还原
params={'name':'张三','age':18,'greet':'helloworld'}
qs=parse.urlencode(params)
#将汉字转化为编码
print(qs)
#打印重新编码后的字符
result=parse.parse_qs(qs)
#将编码还原为原来的字符
print(result)
45191b178eca7a2b6e74243e6143f2e0c6571755
<mask token>

<mask token>
print(qs)
<mask token>
print(result)

<mask token>
params = {'name': '张三', 'age': 18, 'greet': 'helloworld'}
qs = parse.urlencode(params)
print(qs)
result = parse.parse_qs(qs)
print(result)

from urllib import request
from urllib import parse
params = {'name': '张三', 'age': 18, 'greet': 'helloworld'}
qs = parse.urlencode(params)
print(qs)
result = parse.parse_qs(qs)
print(result)

from urllib import request
from urllib import parse
#对已编码的文件进行还原
params={'name':'张三','age':18,'greet':'helloworld'}
qs=parse.urlencode(params)
#将汉字转化为编码
print(qs)
#打印重新编码后的字符
result=parse.parse_qs(qs)
#将编码还原为原来的字符
print(result)