fork download
  1. from flask import Flask
  2. app = Flask(__name__)
  3.  
  4. @app.route('/home/<name>')
  5. def home(name):
  6. return "hello,"+name;
  7.  
  8. if __name__ =="__main__":
  9. app.run(debug = True)
Time limit exceeded #stdin #stdout #stderr 5s 21656KB
stdin
Standard input is empty
stdout
 * 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
stderr
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 319-152-871