how to connect your app project with home html

Solutions on MaxInterview for how to connect your app project with home html by the best coders in the world

showing results for - "how to connect your app project with home html"
Emma
02 Mar 2019
1from flask import Flask, render_template
2
3app = Flask(__name__)
4
5@app.route("/")
6def home():
7    return render_template("home.html")
8    
9@app.route("/about)
10def about():
11    return render_template("about.html")
12    
13if __name__ == "__main__":
14    app.run(debug=True)