Output : HTML : CGI Web PYTHON TUTORIALS


PYTHON TUTORIALS » CGI Web » HTML »

 

Output


import sys
import cgi
import traceback
print "Content-type: text/html"
print
sys.stderr = sys.stdout
try:
    n = 10
    while n>0:
        print "<hr>"
        print 10/(n-1# This will cause an error when n=1
        n = n - 1
except:
    print "nn<PRE>"
    traceback.print_exc()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo CGI Web
» HTML