For example, I have a project named myproject. In myproject directory. there are other sub-directory and main.py. And in other sub-directory, there are a.py and b.py.
The content in a.py is
import b
The content in main.py is:
from other.a import *
Here comes a problem, in main.py, when I use from other.a import *, the the content of a.py is included in main.py, it will raise an error, because b.py is in other, so in main.py using import b is wrong, and we should use import other.b, but a.py needs import b, so it is contradictory. How can I solve it?