Created
August 15, 2017 06:40
-
-
Save kunpengku/68022fdbaab26494eab69c1de2d8248b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding:utf8 | |
from flask_script import Manager | |
from flask import Flask, render_template | |
app = Flask(__name__) | |
@app.route("/user/<name>") | |
def hello_you(name): | |
return render_template('name.html', name=name) | |
if __name__ == "__main__": | |
app.debug = True | |
app.run(host='0.0.0.0') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment