python library 'json' prints everything twice -
i decided make simple program started json in python 3.4.3
however, seemed write 2 lines before encountered weird; prints twice. program this:
import json jsonfile = open('todo.json','r').read() print(jsonfile)
this prints string twice. if remove 'import json' works fine. suggestions?
thanks in advance
okay, named py file json.py. did not think through
Comments
Post a Comment