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

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.
主站蜘蛛池模板: 白玉县| 汝州市| 清流县| 云浮市| 梅州市| 濮阳县| 安丘市| 青岛市| 济源市| 青川县| 涟源市| 临清市| 荥经县| 日照市| 同江市| 清原| 靖州| 海丰县| 玛曲县| 崇阳县| 南充市| 徐水县| 中宁县| 湘阴县| 大埔区| 庆云县| 拉萨市| 潜江市| 天峨县| 仲巴县| 承德县| 故城县| 榆林市| 浮山县| 鹤壁市| 河南省| 绍兴市| 岱山县| 东乡| 彩票| 大洼县|