The example serializes a Python dictionary into JSON with json.dump() method. The JSON data is written to friends.json file.
確定! 回上一頁