I have a file, A.py, it basically looks like this:
import Hasher
hh = Hasher.V2.Cached_V2()
When running, I get the error:
Traceback (most recent call last):
File "./A.py", line 2, in <module>
hh = Hasher.V2.Cached_V2()
AttributeError: 'module' object has no attribute 'V2'
On disk, the files layout is like this:
/A.py
/Hasher/__init__.py
/Hasher/V2.py
V2.py contains multiple classes, among them Cached_V2.
What's going on? Why isn't the object visible as expected?