Last active
December 3, 2020 08:00
-
-
Save kunxin-chor/d0cbcc7103a2e7c15abf4d40058bac65 to your computer and use it in GitHub Desktop.
Basic Flask 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 | |
import os | |
app = Flask(__name__) | |
# "magic code" -- boilerplate | |
if __name__ == '__main__': | |
app.run(host='localhost', | |
port=80, | |
debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment