2008-11-21 | Paul Boddie | file changeset files shortlog | Added an experimental questionnaire player. |
paul@676 | 1 | #!/usr/bin/env python |
paul@676 | 2 | |
paul@676 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paul@676 | 4 | import QuestionPlayer |
paul@676 | 5 | |
paul@676 | 6 | # Get a simple Web site. |
paul@676 | 7 | |
paul@676 | 8 | resource = QuestionPlayer.get_site() |
paul@676 | 9 | |
paul@676 | 10 | # Special magic incantation. |
paul@676 | 11 | |
paul@676 | 12 | print "Serving..." |
paul@676 | 13 | deploy(resource, handle_errors=0) |
paul@676 | 14 | |
paul@676 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |