import json f = open('ts.json', 'r') json_dict = json.load(f) print('{}'.format(json_dict['book1']))