Skip to content

Instantly share code, notes, and snippets.

@eliasp
eliasp / jinja2_test.py
Created October 12, 2018 12:26
Test Jinja2 templates in a REPL
from jinja2 import Template
text = """
hi
"""
template = Template(text)
template.render() # passing variables here to the text template if needed