Flask: "from app import app"? Flask: "from app import app"? flask flask

Flask: "from app import app"?


It means:

from package app import object app

So the first appis the name of the package (which is a folder with a __init__.py file inside) and the second is the name of the imported object from that package. See the answers to this question for more info.