# Flask
Flask is a lightweight [WSGI][] web application framework. It is designed
to make getting started quick and easy, with the ability to scale up to
complex applications. It began as a simple wrapper around [Werkzeug][]
and [Jinja][], and has become one of the most popular Python web
application frameworks.
Flask offers suggestions, but doesn't enforce any dependencies or
project layout. It is up to the developer to choose the tools and
libraries they want to use. There are many extensions provided by the
community that make adding new functionality easy.
[WSGI]: https://wsgi.readthedocs.io/
[Werkzeug]: https://werkzeug.palletsprojects.com/
[Jinja]: https://jinja.palletsprojects.com/
## A Simple Example
```python
# save this as app.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello, World!"
```
```
$ flask run
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
```
## Donate
The Pallets organization develops and supports Flask and the libraries
it uses. In order to grow the community of contributors and users, and
allow the maintainers to devote more time to the projects, [please
donate today][].
[please donate today]: https://palletsprojects.com/donate
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
The Python micro framework for building web applications..zip (249个子文件)
make.bat 760B
style.css 2KB
test.css 18B
.editorconfig 233B
.env 33B
.flaskenv 28B
.gitignore 119B
.gitignore 119B
.gitignore 89B
index.html 3KB
base.html 1KB
xhr.html 933B
fetch.html 852B
index.html 790B
base.html 752B
update.html 690B
jquery.html 666B
create.html 447B
register.html 428B
login.html 424B
escaping_template.html 147B
_macro.html 55B
template_test.html 51B
context_template.html 36B
template_filter.html 26B
index.html 24B
simple_template.html 23B
index.html 22B
index.html 21B
tests-min.in 96B
typing.in 91B
docs.in 67B
tests.in 64B
dev.in 54B
build.in 6B
tox.ini 1KB
devcontainer.json 434B
config.json 54B
Makefile 634B
CODE_OF_CONDUCT.md 3KB
README.md 1KB
README.md 950B
pull_request_template.md 822B
bug-report.md 615B
feature-request.md 416B
README.md 228B
README.md 156B
debugger.png 203KB
pycharm-run-config.png 97KB
flask-horizontal.png 24KB
flask-vertical.png 16KB
flaskr_edit.png 13KB
flaskr_index.png 11KB
flaskr_login.png 7KB
shortcut-icon.png 4KB
app.py 59KB
test_basic.py 51KB
app.py 37KB
cli.py 35KB
scaffold.py 30KB
test_blueprints.py 28KB
blueprints.py 24KB
helpers.py 23KB
test_cli.py 20KB
ctx.py 15KB
sessions.py 14KB
config.py 13KB
test_templating.py 12KB
test_testing.py 10KB
test_helpers.py 10KB
testing.py 10KB
tag.py 9KB
test_json.py 9KB
test_reqctx.py 8KB
test_user_error_handler.py 8KB
test_config.py 8KB
provider.py 7KB
templating.py 7KB
views.py 7KB
test_views.py 7KB
debughelpers.py 6KB
wrappers.py 6KB
__init__.py 5KB
test_appctx.py 5KB
test_signals.py 5KB
blueprints.py 4KB
conftest.py 4KB
test_instance_config.py 3KB
test_async.py 3KB
blog.py 3KB
auth.py 3KB
conf.py 3KB
typing.py 3KB
__init__.py 3KB
typing_route.py 2KB
test_logging.py 2KB
test_blog.py 2KB
logging.py 2KB
test_auth.py 2KB
test_json_tag.py 2KB
共 249 条
- 1
- 2
- 3
资源评论
嵌入式JunG
- 粉丝: 6830
- 资源: 763
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【岗位说明】职务分析样本工业工厂类.doc
- 【岗位说明】职务分析样本后勤服务类.doc
- 【岗位说明】质检员岗位职责.doc
- 【岗位说明】质量管理部职能说明书.doc
- 【岗位说明】质量工程师岗位职责.doc
- 【岗位说明】质量控制主管岗位职责.doc
- 【岗位说明】质检员.doc
- 【岗位说明】质量工程师.doc
- 【岗位说明】装配工.doc
- 【岗位说明】中心试验室职能说明书.doc
- 【岗位说明】终检岗位职责.doc
- 【岗位说明】装配工岗位职责.doc
- 使用ESP32-S3+OV5640获取一帧图像(拍照)并上传至http服务器的示例代码
- 机械设计ICT电路测试仪step全套技术资料100%好用.zip
- 【岗位说明】采购部职责及岗位职责.doc
- 【岗位说明】采编岗位职责.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功