官方文档 推荐教程 环境 pip install virtualenv cd proj_fold virtualenv venv . venv/bin/activate for *unix or venv\scripts\activate for win (deactivate to end up) Helloworld from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return…