I have a relatively small python program which is setup like this
Root--Network--DTOLots of py files which contain classes.Other py files in the project
Both in the Network and the DTO folder there is an empty __init__.py
.
When I do from Network import DTO
, import Network
, Import Network.DTO
I cannot use the module at all. The debugger says it's completely empty. The root contains the py file I am actually executing.
Both the the __init__.py
files in the Network and DTO folder are compiled to pyc
while all actual python files aren't.
Does anyone have any idea what I am doing wrong? I am using python 2.7