Skip to content

Instantly share code, notes, and snippets.

@scottt
Created July 15, 2014 14:19
Show Gist options
  • Save scottt/6fa5c891c9eaefd0ca0a to your computer and use it in GitHub Desktop.
Save scottt/6fa5c891c9eaefd0ca0a to your computer and use it in GitHub Desktop.
Filter out deleted entries
import json
l = json.loads(open('t.json').read())
l0 = [ x for x in l if u'delete' not in x ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment