Skip to content

Instantly share code, notes, and snippets.

@ajosanchez
Created November 5, 2017 19:57
Show Gist options
  • Save ajosanchez/4483c98db1a4f8d728b4f7eb17a5cd31 to your computer and use it in GitHub Desktop.
Save ajosanchez/4483c98db1a4f8d728b4f7eb17a5cd31 to your computer and use it in GitHub Desktop.
load json into python
import json
articles = []
with open('people.json', 'rb') as f:
for item in f:
articles.append(json.loads(item))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment