将字符串转化为字典

用eval函数或者 json.loads

https://segmentfault.com/q/1010000000174694

猜你喜欢

转载自blog.csdn.net/yuxeaotao/article/details/89467354