Skip to content

Instantly share code, notes, and snippets.

@afaqk9394
Created September 17, 2019 06:59
Show Gist options
  • Save afaqk9394/b517cb0bd71d9b162bb25c183e6205f5 to your computer and use it in GitHub Desktop.
Save afaqk9394/b517cb0bd71d9b162bb25c183e6205f5 to your computer and use it in GitHub Desktop.
import json
with open('persons.json', 'r') as f:
my_dict = json.load(f)
for distro in my_dict:
print(distro['gender'])
print(distro['name'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment