flâneur — a map of the web's best reading

Creating Templates With Jinja In Python | by Atufa Shireen | Medium

atufashireen.medium.com · 1,473 words · saved by 1 readers

A template engine or template processor is a library designed to combine templates with a data model to produce documents. Template…

Creating Templates With Jinja In Python Atufa Shireen 6 min read · May 31, 2020 -- 1 Listen Share A template engine or template processor is a library designed to combine templates with a data model to produce documents. Template engines are often used to generate large amounts of emails, in source code preprocessing, or producing dynamic HTML pages. Jinja installation $ sudo pip3 install jinja2 We use the pip3 tool to install Jinja. Jinja delimiters Jinja uses various delimiters in the template strings. {% %} - statements {{ }} - expressions to print to the template output {# #} - comments wh

Explore this link on the map →

related reading