Skip to content

Instantly share code, notes, and snippets.

@estevaofon
Created March 28, 2018 16:42
Show Gist options
  • Save estevaofon/e2b7b928dfbcd6d74c070066f3319d06 to your computer and use it in GitHub Desktop.
Save estevaofon/e2b7b928dfbcd6d74c070066f3319d06 to your computer and use it in GitHub Desktop.
import json
with open('data.txt') as json_file:
data = json.load(json_file)
for p in data['people']:
print('Name: ' + p['name'])
print('Website: ' + p['website'])
print('From: ' + p['from'])
print('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment