摘要: Python 如何将字符串转为字典 在工作中遇到一个小问题,需要将一个 python 的字符串转为字典,比如字符串: user_info = '{"name" : "json" , "gender": "male", "age": 28}' 我们想把它转为下面的字典: user_info = {"n 阅读全文
posted @ 2022-02-15 20:05 michaelchengjl 阅读(547) 评论(0) 推荐(1) 编辑