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

Summary

By now you should be familiar with the process of setting up a new virtualenv for your Python project, be able to install Flask, and have created a simple app. In this chapter,we discussed how to create virtualenvs for your projects and install third-party packages using pip. We also learnt how to write a basic Flask app, route requests to views, and to read request arguments. We familiarized ourselves with the interactive debugger and with how the Python interpreter processes the import statements.

If you were already familiar with most of the subject-matter in this chapter, do not worry; things will soon get more challenging.

In the next chapter, you will discover how to work with a relational database to store and retrieve blog entries. We'll add a new module to our project for storing our database-specific code and create some models to represent blog entries and tags. Once we are able to store the entries, we will learn how to read them back in a variety of ways through filtering, sorting, and aggregation. For more information, you can refer to the following links:

主站蜘蛛池模板: 龙井市| 淳化县| 高平市| 青浦区| 扎赉特旗| 汉阴县| 吉隆县| 买车| 隆德县| 溆浦县| 卢氏县| 郓城县| 泾阳县| 驻马店市| 台前县| 陆丰市| 绥宁县| 湖州市| 安塞县| 竹山县| 和硕县| 通州区| 同仁县| 德清县| 绿春县| 莱州市| 朔州市| 隆昌县| 瑞安市| 黄陵县| 巴林右旗| 兴宁市| 资源县| 宁强县| 津南区| 鄢陵县| 长乐市| 涞水县| 江达县| 赫章县| 苗栗县|