Created
August 8, 2018 21:14
-
-
Save RafaelBroseghini/dba214467671e2f412cd7f60b8397f56 to your computer and use it in GitHub Desktop.
Simple Flask App setup
This file contains hidden or 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__) | |
@app.route("/") | |
def index(): | |
return "You have reached the index route!" | |
if __name__ == "__main__": | |
app.run(debug=True) | |
# Navigate to localhost:5000 on your browser....Surprise |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment