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

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.
主站蜘蛛池模板: 牡丹江市| 娱乐| 阳江市| 安岳县| 双峰县| 三亚市| 饶阳县| 友谊县| 吴江市| 洞口县| 乐至县| 璧山县| 龙川县| 会昌县| 永和县| 东丰县| 厦门市| 交城县| 嘉峪关市| 陇川县| 宾阳县| 白玉县| 郓城县| 桂阳县| 普兰店市| 长子县| 钟山县| 武乡县| 即墨市| 通江县| 白山市| 仁布县| 望奎县| 莎车县| 安达市| 若羌县| 额尔古纳市| 城固县| 馆陶县| 上犹县| 从江县|