Created
October 12, 2018 12:26
-
-
Save eliasp/7c3717617da351ebcacd04e8ab216ba6 to your computer and use it in GitHub Desktop.
Test Jinja2 templates in a REPL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from jinja2 import Template | |
text = """ | |
hi | |
""" | |
template = Template(text) | |
template.render() # passing variables here to the text template if needed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment