python 开发web应用程序
1.创建项目目录:mkdir HelloWorld-Flask
2.进入项目目录:cd HelloWorld-Flask
3.创建虚拟环境:python3 -m venv .venv
4.安装Flask框架:python3 -m pip install flask
4.1.查看Flask版本:python3 -m flask --version
5.创建项目文件:echo test>app.py
6.运行:python3 -m flask run
框架安装,如下:
安装Django
pip install django
安装Flaskpip install flask
参考:
http://python.mobiletrain.org/jiaocheng/124404.html
https://learn.microsoft.com/zh-cn/windows/python/web-frameworks
https://blog.csdn.net/baidu_24752135/article/details/125172227
https://blog.csdn.net/m0_51428325/article/details/121357005
https://blog.csdn.net/qq_53381910/article/details/131021754