wow / create_file.py
Maxime
update train.json
9599223
raw
history blame
199 Bytes
import json
with open("original/train.json") as f:
data = json.load(f)
with open("train.json", "w+") as f:
for line in data:
f.write(json.dumps(line, ensure_ascii=False) + "\n")