CGI Web Python Tutorial

#!c:/Python25/python
from os import *
from cgi import *
print "Content-type: text/html\n\n"
print "
Hello Python!"