Lesson

Use Jinja2 templates to render HTML in Flask

In this lesson, you'll get a quick introduction on how to use Jinja2 templates to render HTML using a Flask server in Python. Topics covered: - Where to store your HTML templates - How to pass variables to the Jinja2 template - How to render the resulting...

Duration
2 min
Access
Free
Transcript
Available

In this lesson, you'll get a quick introduction on how to use Jinja2 templates to render HTML using a Flask server in Python. Topics covered:

  • Where to store your HTML templates
  • How to pass variables to the Jinja2 template
  • How to render the resulting HTML in Flask