Answers for "python write json utf-8"

1

python write json to file utf8

open(jsonfile , "w", encoding="utf8").write(json.dumps(file,indent=4, ensure_ascii=False))
Posted by: Guest on November-25-2020
0

python json write utf 8

with open('speechbase.json', 'w') as jsonfile:
	json.dump(DATA, jsonfile, indent = 4)
Posted by: Guest on April-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language