Created
July 12, 2019 09:39
-
-
Save m3tam3re/a15b1527d4955b891c1ea9a04e000012 to your computer and use it in GitHub Desktop.
JSON Basics in Python 1 - read JSON file
This file contains 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
with open('jsonfile.json', 'r') as file: | |
json_dict = json.load(file) | |
my_dict = json.load(json_dict) | |
print(my_dict.items() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment