Flask Basic Configuration

PHOTO EMBED

Sun Feb 20 2022 16:43:30 GMT+0000 (Coordinated Universal Time)

Saved by @dispwork ##flask ##python

from flask import Flask, redirect, url_for, request, render_template, flash

app = Flask(__name__)
  
@app.route('/', methods = ['GET'])
def index():
    return render_template('index.html')
  
if __name__ == '__main__':
    app.run()
content_copyCOPY