i had setup Pylons v0.9.7, and created a project using genshi. I tried to code an easy test case, but it is not working.
I\'m trying to do some customization of a Trac project management website and have run into an interest开发者_StackOverflow中文版ing problem.The project has a set of images that are both SVG and PNG.T
I have the following Python code using Genshi (simplified): with open(pathToHTMLFile, \'r\') as f: template = MarkupTemplate(f.read())
I need a global variable that I can call from the templates. I edited app_globals.py in lib directory to declare PATH_TO_IMAGES like this