创建一个web
pip install flask
from flask import Flask app=Flask(__name__) @app.route(‘/‘) def index(): return ‘hello‘
运行
flask run
原文地址:https://www.cnblogs.com/buchizaodian/p/11142154.html
时间: 2024-10-16 13:49:14
创建一个web
pip install flask
from flask import Flask app=Flask(__name__) @app.route(‘/‘) def index(): return ‘hello‘
运行
flask run
原文地址:https://www.cnblogs.com/buchizaodian/p/11142154.html