-1
Basically the problem is because you are not using '.' There are two possible options to solve your problem.
- Import a single file:
from .controller import default
- Import all modules from directory
from . import controller
-1
0
Basically the problem is because you are not using '.' There are two possible options to solve your problem.
from .controller import default
from . import controller
Browser other questions tagged python mvc flask importing
You are not signed in. Login or sign up in order to post.