import json def main(): with open('grammar.json', 'r') as f: #print(f) content = json.load(f) content = content["Telescope"]["set"][0]["input_label"][0]["R.A."] print(content) #for c in content: #print (c["R.A."]) #print("\n") main()