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

  • 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:

主站蜘蛛池模板: 英超| 开江县| 岑巩县| 西华县| 铜梁县| 黔江区| 汉沽区| 西青区| 汉寿县| 涿州市| 保山市| 偃师市| 正镶白旗| 鹤庆县| 丰镇市| 平远县| 林口县| 微博| 宁明县| 类乌齐县| 奉节县| 曲松县| 介休市| 正定县| 石台县| 鄂温| 葫芦岛市| 平邑县| 怀化市| 茌平县| 榕江县| 镇平县| 嘉荫县| 邯郸县| 永丰县| 苏尼特右旗| 阜城县| 抚远县| 浮山县| 尼玛县| 南江县|