#!/usr/bin/env python # -*- coding: utf-8 -*- # # see benchsimple.py # configuration for Cheetah 2.0.1 / 2.4.2 config = { "template" : """\ #filter WebSafe Benchsimple | $title

Benchsimple | ${title}

#for $n,$row in enumerate($table) #for $col in $row $col #end for #end for
#end filter """, "module" : "Cheetah", "import" : "from Cheetah.Template import Template", "complete" : "t = Template(template, context_dict); r = unicode(t)", "parse" : "tclass = Template.compile(template)", "render" : "t = tclass(namespaces=context_dict); r = unicode(t)" } #-----------------------------------------