• File: debugger.py
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/share/doc/alt-python27-jinja2-2.7.2/examples/basic/debugger.py
  • Date Modified: 07/26/2013 4:00 PM
  • File size: 223 bytes
  • MIME-type: text/x-script.python
  • Charset: utf-8
from jinja2 import Environment
from jinja2.loaders import FileSystemLoader

env = Environment(loader=FileSystemLoader('templates'))

tmpl = env.get_template('broken.html')
print tmpl.render(seq=[3, 2, 4, 5, 3, 2, 0, 2, 1])