When you run it as Flask app, you typically set env variable FLASK_APP and then run python -m flask run . It that case, __name__ == app (or whatever your script ...
確定! 回上一頁