How To Use Python On A Web Page With Jinja2 - Flask Fridays #2
Codemy.com Codemy.com
236K subscribers
106,035 views
2K

 Published On Jan 22, 2021

In this video we'll start to look at the Jinja2 Template Language that allows us to use Python directly on our webpages.


The best part of using a framework like Flask is the ability to use Python on a web page. Jinja allows us to do that...mostly.


In this video we'll learn how to pass variables to our webpages, as well as other things like Python Lists. We'll also learn to use the built in filters that come with Jinja2, such as safe, capitalize, lower, upper, title, trim, striptags, and more.

We'll also learn to use if statements and for loops on our webpage with Jinja.

show more

Share/Embed