Answers for "write json file python unicode"

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

Python Answers by Framework

Browse Popular Code Answers by Language