#!C:\Python27\python.exe -u
#!/usr/bin/env python
import cgi
import cgitb; cgitb.enable() # for troubleshooting
print "Content-type: text/html"
print """
<html>
<head>
<title>Sample CGI Script</title>
</head>
<body>
<h1>Hello world</h1>
</body>
</html>
"""