一:字符串处理手段
1,将字符串转换成字典
a = "{"a":"b","c":"d",4:4}"
d = eval(a)
print type(d)
2,
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1225597
一:字符串处理手段
1,将字符串转换成字典
a = "{"a":"b","c":"d",4:4}"
d = eval(a)
print type(d)
2,
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1225597