# Ben's Corner

View page source on GitHub

# Easiest way to turn a Jinja2 template into an HTML file

The docs talk about using the environment or whatever, but for my use case, I usually prefer the FileSystemLoader:

import jinja2 as j2

# need a templates folder to look into (or change it to '.')