摘要: 基本 # 1. 【python字典】转json格式【str】 import json dic = {'a': 1, 'b': 2, 'c': 3} str1 = json.dumps(dic, sort_keys=True, indent=4, separators=(',', ':')) # 有换 阅读全文
posted @ 2020-12-25 11:28 该显示昵称已被使用了 阅读(2060) 评论(0) 推荐(0) 编辑