Flask入门教程简介 4 前言 Flask 是一个使用 Python 语言编写的 Web 框架,它可以让你高效的编写 Web 程 序。Web 程序即“网站”或“网页程序”,是指可以通过浏览器进行交互的程序。我们 日常使用浏览器访问的豆瓣、知乎、百度等网站都是 Web 程序。 通过这本书,你会学到 Flask 开发的基础知识,并开发出一个简单的 Watchlist(观 影清单)程序。在功能上,这个程序可以看做是简化版的 及以上版本。电脑的操作系统可以是 Windows,也可以是 macOS 或 Linux。 安装编辑器和浏览器 对于编辑器来说,每个人都有不同的偏好,你可以自由选择。可以选择功能丰富的 IDE(集成开发环境),比如 PyCharm;也可以选择相对轻量的编辑器,比如 Atom 或 Sublime Text。浏览器建议使用 Firefox 或 Chrome。 使用命令行 在本书中,你需要使用命令行窗口来执行许多操作。你可以使用 Python,可以执行下面的命令测试是否有报错: $ python --version Python 2.7.11 对于 Windows 用户,请使用 cmder(一个基于 ConEmu 实现的终端模拟器) 来代 替系统自带的 cmd.exe,或是使用安装 Git for Windows 后(下一节)附带的 Git Bash。cmder 集成了 Git Bash,支持一些在 Linux 或 macOS0 码力 | 127 页 | 7.62 MB | 1 年前3
Flask-RESTful Documentation
Release 0.3.6attributes of the flask.Request object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the result set. • choices – A container of the allowable0 码力 | 46 页 | 245.60 KB | 1 年前3
Flask-RESTful Documentation Release 0.3.6attributes of the flask.Request object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the result set. choices – A container of the allowable0 码力 | 49 页 | 91.90 KB | 1 年前3
Flask-RESTful Documentation
Release 0.3.7attributes of the flask.Request object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the result set. • choices – A container of the allowable0 码力 | 50 页 | 253.09 KB | 1 年前3
Flask-RESTful Documentation
Release 0.3.8attributes of the flask.Request object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the result set. • choices – A container of the allowable0 码力 | 50 页 | 253.64 KB | 1 年前3
Flask-RESTful Documentation Release 0.3.81.x/api/#flask.Request] object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the resul set. choices – A container of the allowable0 码力 | 55 页 | 93.30 KB | 1 年前3
Flask-RESTful Documentation Release 0.3.71.x/api/#flask.Request] object to source the arguments from (ex: headers, args, etc.), can be an iterator. The last item listed takes precedence in the resul set. choices – A container of the allowable0 码力 | 55 页 | 93.21 KB | 1 年前3
Flask Documentation (1.1.x)the g proxy. 'key' in g Check whether an attribute is present. Changelog iter(g) Return an iterator over the attribute names. Changelog get(name, default=None) Parameters: Parameters: Parameters:0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)proxy. 'key' in g Check whether an attribute is present. New in version 0.10. iter(g) Return an iterator over the attribute names. New in version 0.10. get(name, default=None) Get an attribute by name0 码力 | 291 页 | 1.25 MB | 1 年前3
共 9 条
- 1













