Flask入门篇(二)路由配置
from flask import Flask, redirect, url_forfrom werkzeug.routing import BaseConverterapp = Flask( __name__, static_url_path="/python", static_folder="static", template_folder="templates")@app.route("/inde