DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
read dict txt python
>>> import json >>> d = {"one":1, "two":2} >>> json.dump(d, open("text.txt",'w'))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#read
#dict
#txt
#python
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit