Circular (or cyclic) imports in Python
What will happen if two modules import each other? To generalize the problem, what about the cyclic imports in Python? 13 s 13 If you do import foo (inside bar.py) and import bar (inside foo.py), it will work fine. By the time anything actually runs, both modules will be fully loaded and will have references … Read more