一、字符串str转为字典dict 1、使用json进行转换 import json a = '{"a":"1", "b":"1"}' c=json.loads(a) print(c, type(c)) import json a 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交