DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
python append to json file
import json with open(path) as f data = json.load(f) data["new"] = "penguin" json.dump(data,f)
PREVIOUS
NEXT
Tagged:
#python
#append
#json
#file
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit