Skip to content

Instantly share code, notes, and snippets.

@tomahim
Last active August 25, 2018 14:26
Show Gist options
  • Save tomahim/0342e32d5a8c764c92ea13b97b9d4a63 to your computer and use it in GitHub Desktop.
Save tomahim/0342e32d5a8c764c92ea13b97b9d4a63 to your computer and use it in GitHub Desktop.
Hello world Flask application
from flask import Flask
application = Flask(__name__)
@application.route('/')
def hello_world():
return 'Hello, World!'
if __name__ == '__main__':
application.run(debug=True, port=8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment