Guest User

Untitled

a guest
Dec 16th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import json
  2.  
  3. with open('filename.json', 'r') as f:
  4. data = json.load(f)
  5. # assuming entry was a json array
  6. for entry in data:
  7. # use format "entry['myfield']" to access named fields
  8. print(entry)
Add Comment
Please, Sign In to add comment