Reading JSON from a File with Python

33

import json

with open('json_data.json') as json_file:
    data = json.load(json_file)
    print(data)
import json

with open('json_data.json') as json_file:
    data = json.load(json_file)
    print(data)
import json

with open('json_data.json') as json_file:
    data = json.load(json_file)
    print(data)
import json

with open('json_data.json') as json_file:
    data = json.load(json_file)
    print(data)

Comments

Submit
0 Comments