中文写入json2021-02-26 本文已影响0人 BI罗 with open('model33.bim','w',encoding='utf-8') as f: json.dump(r,f,ensure_ascii=False ,indent=4)