Skip to content

Instantly share code, notes, and snippets.

@brunsgaard
Created February 16, 2013 16:07
Show Gist options
  • Save brunsgaard/4967477 to your computer and use it in GitHub Desktop.
Save brunsgaard/4967477 to your computer and use it in GitHub Desktop.
from flask import Flask
app = Flask(__name__)
print("I am running before first req")
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment