Skip to content

Instantly share code, notes, and snippets.

@tupy
Last active December 15, 2015 10:39
Embed
What would you like to do?
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