Skip to content Skip to sidebar Skip to footer

Module Has No Submodule

I am making a flask web app and I have something I don't understand. My app module folder structure goes like this : app\ | static\ | templates\ | tmp\ | __init__.py | ru

Solution 1:

In Python, submodules are not imported when you import the package. You must import them explicitly if you want access to their namespace.

import app.toolxls

Post a Comment for "Module Has No Submodule"