Skip to content

Instantly share code, notes, and snippets.

@Manikanta-Munnangi
Created November 10, 2019 12:34
Show Gist options
  • Save Manikanta-Munnangi/19c508a750f87a6d2d05d876c77a7d7e to your computer and use it in GitHub Desktop.
Save Manikanta-Munnangi/19c508a750f87a6d2d05d876c77a7d7e to your computer and use it in GitHub Desktop.
# 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