Simple CGI Script in Python

From XPUB & Lens-Based wiki
Revision as of 17:45, 12 January 2011 by Michael Murtaugh (talk | contribs) (Created page with "The Python documentation is a pretty good place to start: http://docs.python.org/library/cgi.html <source lang="python"> print "Content-Type: text/html" # HTML is following ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Python documentation is a pretty good place to start: http://docs.python.org/library/cgi.html

print "Content-Type: text/html"     # HTML is following
print                               # blank line, end of headers