Nov-18-2021, 03:40 PM
(This post was last modified: Nov-18-2021, 05:34 PM by Yoriz.
Edit Reason: removed unnecessary quote of previous post, code tags
)
resolved, it was typo ...
Should be ...
Actually it's a little bit more complicated.
Due to hierarchy of files/classes I get such error (AAA and BBB names are alternate names - for ease of understanding):
Should be ...
from class_instances_test_v0 import MyClass
Actually it's a little bit more complicated.
Due to hierarchy of files/classes I get such error (AAA and BBB names are alternate names - for ease of understanding):
Error:ImportError: cannot import name 'AAA' from partially initialized module 'AAA.AAA' (most likely due to a circular import) ({path-to-AAA_class}/AAA/AAA.py)
In file BBB.py I use such import instruction:form AAA.AAA import AAA