Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 374 Bytes
from flask import Flask
app = Flask(__name__)
app.debug = True
@app.route("/")
def hello():
# p()
return "Hello World!"
from werkzeug.debug import DebuggedApplication
application = DebuggedApplication(app, evalex=True)
if __name__ == "__main__":
from werkzeug.serving import run_simple
run_simple('', 4000, application, use_debugger=True, use_evalex=True)