DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python object to json file
data = { "your json": "has data!" } with open('data.txt', 'w') as outfile: json.dump(data, outfile)
PREVIOUS
NEXT
Tagged:
#python
#object
#json
#file
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit