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

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.
主站蜘蛛池模板: 青阳县| 景宁| 科尔| 江阴市| 黄石市| 麟游县| 天气| 寿宁县| 山阴县| 太湖县| 新泰市| 吉林省| 宁安市| 扬州市| 大庆市| 宁安市| 马公市| 尼木县| 新巴尔虎右旗| 若尔盖县| 吴旗县| 屯门区| 布拖县| 松原市| 洛隆县| 新乐市| 水富县| 涟水县| 香格里拉县| 延津县| 楚雄市| 渑池县| 会宁县| 永年县| 井研县| 石楼县| 海南省| 手机| 汤阴县| 比如县| 疏附县|