flask使用配置文件时间:2023-01-14 05:46:42引入配置 app = Flask(__name__) app.config.from_pyfile('config.py') config.py DEBUG = True SECRET_KEY = ''