1 2 3 4 5 6 7
import json import sys with open(sys.argv[-1], "r") as f: data = json.load(f) print(data[0])