📜  jinja2 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:07.787000             🧑  作者: Mango

代码示例1
import flask 
from flask import Flask , render_templates

app = Flask(__name__)
@app.route("/")
def hi():
  name = "Your Name"
  return render_templates(index.html , name = name)

# The html code below this code is mine