使用json.dump()的时候设置一下indent参数的值就好了。比如json.dump(json_dict, f, indent=4), ensure_ascii=False,写入中文 相关文章: 2021-08-26 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-01-23 2022-12-23 2022-12-23