Created
May 18, 2017 21:36
-
-
Save JohnTheodore/3e13ac13a1a8251e1adaf87f0661efba to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env python | |
import jinja2 | |
import os | |
foo = jinja2.Environment(trim_blocks=True, autoescape=False) | |
foo.loader = jinja2.FileSystemLoader(os.path.abspath('/tmp')) | |
bar = foo.get_template('/custodian/email/jinja_template.j2') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment