How to change the name of the entry point file in Flask?
Check your import statement... to be sure that you have also changed the file name from the sily_name to the better_name
Your code will help to easily point you in the right direction.
I'm relatively inexperienced Python user and completely new to Flask, so I am sure this is dumb, but...
I had a file that acted as an entry point for Flask, named some_silly_name.py which contains the line app = Flask(__name__). The server was running fine, until I decided that that name was silly, so I renamed the file to a_much_better_name.py. Now on flask run I get the error Error: Could not import "some_silly_name".
What do I need to do to change the name of this file and still have Flask run?