啦啦啦

摘要: import json #dct="{'1':111}"#json 不认单引号 #dct=str({"1":111})#报错,因为生成的数据还是单引号:{'one': 1} dct='{"1":"111"}' print(json.loads(dct)) #conclusion: # 无论数据是怎样 阅读全文
posted @ 2017-10-25 13:46 路哥菜鸟 阅读(169) 评论(0) 推荐(0)