return to first page linux journal archive
keywordscontents
#!/usr/local/bin/python
#
# helloworld.py
#

from time import *

print "Content-type: text/html"
print

print "<HTML>"

print "<Head>"
print "<Title>Hello World</Title>"
print "</Head>"

print "<Body>"
print "<H1>Hello World !</H1>"
print "<hr>"

print "<P>This is Belgium.<br>Localtime is", ctime( time() )
+
".<P>"

print "</Body>"
print "</HTML>"