WebStack

Annotated examples/Webware/UnicodeContext/__init__.py

285:3ff10a6ccfae
2004-09-21 paulb [project @ 2004-09-21 15:59:23 by paulb] Added the Unicode example for Webware CVS (later than 0.8.1).
paulb@285 1
#!/usr/bin/env python
paulb@285 2
paulb@285 3
"""
paulb@285 4
Webware context for the Unicode application (post Webware 0.8.1).
paulb@285 5
"""
paulb@285 6
paulb@285 7
from WebStack.Adapters.Webware import WebStackURLParser
paulb@285 8
from Unicode import UnicodeResource
paulb@285 9
paulb@285 10
# NOTE: Initialising a shared resource.
paulb@285 11
paulb@285 12
resource = UnicodeResource()
paulb@285 13
urlParser = WebStackURLParser(resource)
paulb@285 14
paulb@285 15
# vim: tabstop=4 expandtab shiftwidth=4