DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python write json to file utf8
open(jsonfile , "w", encoding="utf8").write(json.dumps(file,indent=4, ensure_ascii=False))
PREVIOUS
NEXT
Tagged:
#python
#write
#json
#file
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit