Skip to content

Instantly share code, notes, and snippets.

@tupy
Last active December 15, 2015 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tupy/5247472 to your computer and use it in GitHub Desktop.
Save tupy/5247472 to your computer and use it in GitHub Desktop.
import flask
app = flask.Flask(__name__)
app.config['SERVER_NAME'] = 'localhost'
@app.route('/')
def index(): return "Index!"
if __name__ == '__main__':
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment