%page args="environ, cookies"/>\ <%! from os import path %>\ <% root = path.dirname(environ["SCRIPT_NAME"]) pretty = path.split(root)[0] %>\