Skip to content

Instantly share code, notes, and snippets.

@sneeu
Created June 20, 2012 14:59
Show Gist options
  • Save sneeu/2960313 to your computer and use it in GitHub Desktop.
Save sneeu/2960313 to your computer and use it in GitHub Desktop.
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