Код: Выделить всё
VIS/
├── __init__.py
└── Objects/
├── __init__.py
└── _Root.py
Важно, что код для init.py в Objects имеет код
Код: Выделить всё
from VIS.Objects._WindowGeometry import *
from VIS.Objects._Root import *
from VIS.Objects._SubRoot import *
__all__ = ["WindowGeometry","Root","SubRoot"]
Код: Выделить всё
Traceback (most recent call last):
File "/home/pi/wnet//Asset.py", line 4, in
from Screens.root import *
File "/home/pi/wnet/Screens/root.py", line 4, in
from VIS.Objects import Root
ModuleNotFoundError: No module named 'VIS.Objects'
Подробнее здесь: https://stackoverflow.com/questions/798 ... ot-windows
Мобильная версия