Created
March 17, 2020 07:10
-
-
Save AntonioMarsella/23703a5e021d8bdaa2477dd550d2edad to your computer and use it in GitHub Desktop.
Read Json files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
with open('filename.json', 'r') as f: | |
json_dict = json.load(f) | |
for key in json_dict: | |
print(key['attribute']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment