Last active
April 22, 2020 06:22
-
-
Save gaurangrshah/f026953311508a3bc66adfdf1b76c9e8 to your computer and use it in GitHub Desktop.
flask-hello-app
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, render_template, request, redirect, url_for | |
app = Flask(__name__) # instantiate flask application | |
app.route('/') # listens for requests on the index route. | |
def index(): # index route handler | |
return "Hello World" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment