Simple hello.py
From Wildsong
- !/usr/bin/python
from time import localtime, strftime
print "Content-type: text/html" print print "<html><header><title>Python presents: SIMPLE HELLO!!!</title></header><body>"
print "
Hello
"
print strftime("%a, %d %b %Y %H:%M:%S", localtime()) print "</body></html>"