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

  • Learning Flask Framework
  • Matt Copperwaite Charles Leifer
  • 188字
  • 2021-07-30 10:18:34

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:

主站蜘蛛池模板: 遂宁市| 平远县| 瑞丽市| 云浮市| 孟州市| 平乐县| 新安县| 德化县| 鱼台县| 罗甸县| 和硕县| 沙田区| 嘉峪关市| 玉树县| 德惠市| 长岭县| 长丰县| 霍州市| 屯门区| 衡南县| 兰坪| 四子王旗| 汤阴县| 分宜县| 三门县| 朝阳市| 历史| 原阳县| 尼勒克县| 修文县| 孝昌县| 土默特左旗| 屯昌县| 长岭县| 新宁县| 堆龙德庆县| 韩城市| 兰溪市| 凭祥市| 富宁县| 尉犁县|