2005-04-24 | paulb | file changeset files shortlog | [project @ 2005-04-24 22:57:24 by paulb] Added an example resembling that in the documentation. |
paulb@352 | 1 | #!/usr/bin/env python |
paulb@352 | 2 | |
paulb@352 | 3 | from WebStack.Adapters.Twisted import deploy |
paulb@352 | 4 | from VerySimple import VerySimpleResource |
paulb@352 | 5 | |
paulb@352 | 6 | print "Serving..." |
paulb@352 | 7 | deploy(VerySimpleResource(), handle_errors=0) |
paulb@352 | 8 | |
paulb@352 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |