Write a JSON file with: >>> import json >>> content = {"name": "Joe", "age": 20} >>> with open("filename.json", "w") as f: ... json.dump(content, f, ...
確定! 回上一頁