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()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter