examples/BaseHTTPRequestHandler/VerySimpleApp.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/examples/BaseHTTPRequestHandler/VerySimpleApp.py Sun Apr 24 22:57:36 2005 +0000 1.3 @@ -0,0 +1,11 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +from WebStack.Adapters.BaseHTTPRequestHandler import deploy 1.7 +from VerySimple import VerySimpleResource 1.8 + 1.9 +# Special magic incantation. 1.10 + 1.11 +print "Serving..." 1.12 +deploy(VerySimpleResource()) 1.13 + 1.14 +# vim: tabstop=4 expandtab shiftwidth=4