You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
238 B

from flask import Flask
from flask import render_template
app = Flask(__name__)
@app.route('/')
def index():
return '主页'
@app.route('/index/')
def hello(name=None):
return render_template('index.html',name=name)
app.run()