home
clear breadcrumbs
search
login
 
load from file
#!/usr/bin/python3 print("Content-Type: text/html") # HTML is following print() # blank line, end of headers import pprint import json import cgitb cgitb.enable() with open('test.json') as json_data: data = json.load(json_data) for row in data: print(row['id']) print(' :: ') print(row['name']) print("
")