2022-06-01から1ヶ月間の記事一覧
ディレクトリ構造 jinja2 | |--app.py |--templates | |--index.html app.pyの内容 ーーーーー from flask import Flask, render_templateapp = Flask(__name__)@app.route('/')def index(): return render_template('index.html')if __name__ == '__main__'…
ディレクトリ構造 jinja2 | |--app.py |--templates | |--index.html app.pyの内容 ーーーーー from flask import Flask, render_templateapp = Flask(__name__)@app.route('/')def index(): return render_template('index.html')if __name__ == '__main__'…