1. 编写代码
from flask import Flask
app = Flask("hello flask")
@app.route("/")
def index():
return "hello index"
app.run()
博学之、审问之、慎思之、明辨之、笃行之
from flask import Flask
app = Flask("hello flask")
@app.route("/")
def index():
return "hello index"
app.run()