CGI Web Python Tutorial

#!/usr/bin/env python
import cgitb
cgitb.enable()
import cgi
print "Content-type: text/html"
print
print """

CGI Environment

"""
cgi.print_environ()
print ""