artmexbet

JSON

Oct 16th, 2022
1,118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | Fixit | 0 0
  1. import json
  2.  
  3. a = json.load(open("file.json"))
  4. # print(a["a"])
  5. a["c"] = "asid"
  6. print(a)
  7. # json.dump(a, open("file.json", "w"))
  8.  
Advertisement
Add Comment
Please, Sign In to add comment