python 解决url编译

from urllib import parse


s = parse.unquote("%7B%22name%22%3A%22joe%22%2C%22age%22%3A%2223%22%7D")
print(s)
import json

b = json.loads(s)
print(type(b))
print(b['name'])

  

posted @ 2018-12-14 15:07  雷神约  阅读(713)  评论(0编辑  收藏  举报