pip install flask- go to
main.py - run it
- Go to
templates->(create new html file) - now go to main.py
-
@app.route("/html-file-name") def anynameyouwant(): return render_template("html-file-name.html")
4. write this before `app.run(debug=True)`
| Name | Name | Last commit date | ||
|---|---|---|---|---|
pip install flaskmain.pytemplates->(create new html file)@app.route("/html-file-name") def anynameyouwant(): return render_template("html-file-name.html")
4. write this before `app.run(debug=True)`