Skip to content

Instantly share code, notes, and snippets.

/jinja.tmp Secret

Created October 28, 2015 20:50
Show Gist options
  • Save anonymous/e83e378ba7a53ac8beda to your computer and use it in GitHub Desktop.
Save anonymous/e83e378ba7a53ac8beda to your computer and use it in GitHub Desktop.
%{ set count = 1 -%}
%{ for q in range(0, multis) -%}
%{{ count %}} & A & B & C & D\\ \hline
%{ set count = count + 1 %}
%{ endfor %}
%{{ count %}} & X & X & X & X\\ \hline
report_renderer = jinja2.Environment(
block_start_string = '%{',
block_end_string = '%}',
variable_start_string = '%{{',
variable_end_string = '%}}',
loader = jinja2.FileSystemLoader(os.path.abspath('.'))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment