XSLTools

examples/BaseHTTPRequestHandler/PEP241App.py

687:ae7bdbf61e32
2009-06-22 Paul Boddie Added some error handling to the questionnaire application.
     1 #!/usr/bin/env python     2      3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy     4 import PEP241     5      6 # Get a simple Web site.     7      8 resource = PEP241.get_site()     9     10 # Special magic incantation.    11     12 print "Serving..."    13 deploy(resource, handle_errors=0)    14     15 # vim: tabstop=4 expandtab shiftwidth=4