Error while importing module app using from Flask.app import db
问题 I'm new to flask, and have problem with importing db while running from python console/cmd. I'm facing this error : In[67]: os.getcwd() Out[67]: 'C:\\Users\\Desktop\\Python\\Flask' In[68]: os.listdir() Out[68]: ['app', 'app.db', 'config.py', 'Flask.py', 'migrations', 'venv', '__init__.py', '__pycache__'] In[69]: from Flask.app.models import User,Post Traceback (most recent call last): File "C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line