📅  最后修改于: 2022-03-11 14:45:35.040000             🧑  作者: Mango
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
# This will return Hello World in an h1 tag when you go to localhost:5000
return 'Hello World
'
@app.route("/signup")
def sign_up():
# This will return Sign Up in an h1 tag when you go to localhost:5000
return 'Sign Up
'
app.run(debug=True)