WebStack

examples/CGI/CalendarHandler.py

493:c1e3e05d2ce4
2005-11-14 paulb [project @ 2005-11-14 14:41:27 by paulb] Added filesystem encoding workaround.
     1 #!/usr/bin/env python     2      3 # NOTE: Path manipulation requires manual customisation.     4      5 import sys     6 sys.path.append("/home/paulb/Software/Python/WebStack")     7 sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common")     8      9 from WebStack.Adapters.CGI import deploy    10 from Calendar import CalendarResource    11     12 # Choose or customise one of the following if the example fails.    13     14 deploy(CalendarResource())    15 #deploy(CalendarResource("iso-8859-1"))    16     17 # vim: tabstop=4 expandtab shiftwidth=4