Flask: "from app import app"?
It means:
from package
app
import objectapp
So the first app
is 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.