with open("result.txt", "w") as f: txt = json.dumps(lst, ensure_ascii=False, indent=4) f.write(txt). 参考: python json.dumps()函数输出json ...
確定! 回上一頁