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

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:

主站蜘蛛池模板: 宝坻区| 远安县| 长汀县| 乐至县| 赤壁市| 翁牛特旗| 赤城县| 洛扎县| 监利县| 涞源县| 赫章县| 侯马市| 岗巴县| 五大连池市| 资阳市| 固原市| 乐平市| 马山县| 镇原县| 达拉特旗| 抚远县| 乐陵市| 那坡县| 盐津县| 高邑县| 乌海市| 仁化县| 浪卡子县| 玛纳斯县| 内江市| 广州市| 泾源县| 台湾省| 理塘县| 贺兰县| 祁东县| 三台县| 年辖:市辖区| 靖远县| 禄丰县| 沈丘县|