Créer un dict à partir de JSON File Python
import json
with open("data.json", "r") as json_file:
my_dict = json.load(json_file)
Puzzled Penguin
import json
with open("data.json", "r") as json_file:
my_dict = json.load(json_file)
import json
with open('data.json', 'w') as fp:
json.dump(data, fp)