Change the default operating pycharm file

There will be usage when pycharm run flask procedure: manage.py [-?] {Test, shell, db, runserver} ... positional arguments error;

Also prompted app.py or not found,

The origin of this error is the default flask pycharm application is running app.py, but when we write flask procedure is not necessarily app.py, therefore, we need to modify the default startup program flask, so that you can solve this problem.

Open run-> edit configurations

In accordance with the following options, you can modify the Target program to start responding.

Guess you like

Origin blog.csdn.net/hrbust_cxl/article/details/89739929