#!/usr/bin/python import cgi def main(): print "Content-type: text/html" print print "Hello world!" main()