test.py 296 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 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."][0] print(content) #for c in content: #print (c["R.A."]) #print("\n") main()