官术网_书友最值得收藏!

Getting started

This recipe introduces HTML templating with the jinja2 module. The jinja2 library is a very powerful tool and has a number of different documented features. We will be using it in a rather simple scenario. All other libraries used in this script are present in Python's standard library. We can use pip to install jinja2:

pip install jinja2==2.9.6

In addition to jinja2, we will also be using a slightly modified template, called light bootstrap dashboard. This slightly modified dashboard has been provided with the recipe's code bundle.

To learn more about the jinja2 library, visit http://jinja.pocoo.org/docs/2.9/.
To download the light bootstrap dashboard, visit https://www.creative-tim.com/product/light-bootstrap-dashboard.
主站蜘蛛池模板: 湖南省| 湘潭市| 靖江市| 清苑县| 全南县| 长泰县| 铜山县| 许昌市| 临湘市| 航空| 唐山市| 深水埗区| 庐江县| 徐水县| 双江| 新郑市| 广安市| 奉节县| 新和县| 屏边| 静海县| 阿坝| 浦北县| 荔波县| 丰台区| 阿坝县| 扎鲁特旗| 新巴尔虎右旗| 望谟县| 西昌市| 洪洞县| 库尔勒市| 永和县| 易门县| 民勤县| 黄陵县| 达州市| 西吉县| 白玉县| 公主岭市| 惠东县|