I am trying to read twitter data from json file using python 2.7.12.
Code I used is such:
import json import sys reload(sys) sys.setd
In my case(mac os), there was .DS_store file in my data folder which was a hidden and auto generated file and it caused the issue. I was able to fix the problem after removing it.