Created
June 20, 2012 14:59
-
-
Save sneeu/2960313 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gzip import open as gzip_open | |
from json import loads | |
with gzip_open('data/2012-06-20-4.json.gz', 'rb') as f: | |
content = f.read() | |
print content.replace("}{", "}\n{") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment