Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read dict txt python

>>> d2 = json.load(open("text.txt"))
>>> print d2
{u'two': 2, u'one': 1}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #dict #txt #python
ADD COMMENT
Topic
Name
3+2 =