#!/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 ''' %s ''' % title def main(): header() print '' printHead('Title') print '' print '

%s

' % 'Title' print '' if __name__ == "__main__": main()