Created
January 11, 2015 21:12
-
-
Save gergob/545de8b4356cb335fcaa 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 | |
# initialize a new Flask app | |
app = Flask(__name__) | |
# add one routing | |
@app.route("/") | |
def index(): | |
return "Homepage routing works!" | |
# start the Flask app | |
if __name__ == "__main__": | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment