How to output an html file in flask Flask flyf35 — 29 March 2023 · Comments off Solution from Flask import render_template @app.route('/') def index(): return render_template('index.html')