Skip to content

Instantly share code, notes, and snippets.

@cedbeu
Created May 17, 2013 00:25
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save cedbeu/5596158 to your computer and use it in GitHub Desktop.
Save cedbeu/5596158 to your computer and use it in GitHub Desktop.
Minimal Flask application - Basic single-file design pattern
#!/usr/bin/python
# coding: utf-8
from flask import Flask
app = Flask(__name__)
@app.route('/')
def entry_point():
return 'Hello World!'
if __name__ == '__main__':
app.run(debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment