Last active
May 10, 2016 02:25
-
-
Save jacobbridges/404e493e32119fc76f3b19b02168cb57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pip install flask | |
$ python server.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment