import tenjin
from tenjin.helpers import *   # or escape, to_str
engine = tenjin.Engine()
context = { 'name': 'World', 'items': ['<AAA>', 'B&B', '"CCC"'] }
output = engine.render('ex.pyhtml', context)
print output,
