1234567891011121314 |
- from flask import Flask
- from flask import request
- from flask import make_response
- from flask import redirect
- from flask import render_template
- app=Flask(__name__)
- @app.route('/')
- def index():
- return render_template('index.html')
- @app.route('/hello/<user>')
- def hello(user):
- return render_template('hello.html',user=user)
|