Created
November 10, 2019 12:34
-
-
Save Manikanta-Munnangi/19c508a750f87a6d2d05d876c77a7d7e 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
# Import Flask | |
from flask import Flask, render_template. | |
# create instance of the class | |
app=Flask(__name__) | |
# Guides flask which url should be running first. | |
# '/' ==> root page | |
@app.route('/') | |
def index(): | |
return render_template('index.html') | |
if __name__=="__main__": | |
app.run(debug=True,port=5000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment