ich habe:
Code: Alles auswählen
A/
bla.txt
B/
__init__.py
foo.py
C/
__init__.py
test.py
Im test.py :
Code: Alles auswählen
from ..B.foo import XYZ
Warum?ValueError: attempted relative import beyond top-level package