#7342: make sure that the datetime object in test_fraction always has a number of...
[python.git] / Demo / cgi / cgi1.py
blob9d25c7db12f82e4ef1e75aa120efa07bc2a2c6cb
1 #!/usr/local/bin/python
3 """CGI test 1 - check server setup."""
5 # Until you get this to work, your web server isn't set up right or
6 # your Python isn't set up right.
8 # If cgi0.sh works but cgi1.py doesn't, check the #! line and the file
9 # permissions. The docs for the cgi.py module have debugging tips.
11 print "Content-type: text/html"
12 print
13 print "<h1>Hello world</h1>"
14 print "<p>This is cgi1.py"