#!/usr/bin/env python import cgi from subprocess import * # Enable these for debugging #import cgitb #cgitb.enable() def header(): print "Content-Type: text/html\n" def printHead(title): print '''