📜  python flask - Python 代码示例

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

代码示例6
from flask import Flask
app = Flask(__name__)
app.config['SECRET_KEY'] = 'myawesomesecretkey'
app.config['DEBUG'] = True

if __name__ == '__main__':
    app.run(debug=app.config['DEBUG'])