from flask import Flask app = Flask(__name__) @app.route('/home/<name>') def home(name): return "hello,"+name; if __name__ =="__main__": app.run(debug = True)
Standard input is empty
* Serving Flask app "prog" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) * Restarting with stat * Debugger is active! * Debugger PIN: 319-152-871