Skip to content

Instantly share code, notes, and snippets.

@jacobbridges
Last active May 10, 2016 02:25
Show Gist options
  • Save jacobbridges/404e493e32119fc76f3b19b02168cb57 to your computer and use it in GitHub Desktop.
Save jacobbridges/404e493e32119fc76f3b19b02168cb57 to your computer and use it in GitHub Desktop.
from flask import Flask
app = Flask(__name__)
# Create a route for the base endpoint
@app.route("/")
def hello():
return "Hello World!"
# Run the server
app.run()
$ pip install flask
$ python server.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment