web后端轻量级框架flask基础调用程序模板

xiaoxiao2025-04-28  14

from flask import Flask,render_template app=Flask(name) @app.route(’/index’)#配置访问路径 def index(): return render_template(‘index.html’) if name==‘main’: app.run(debug=True)

转载请注明原文地址: https://www.6miu.com/read-5029295.html

最新回复(0)