My '/' directory looks like this.
Launch.py
Services.py
Server.py
ServerHelper.py
Packetlib.py
When Launch is run, Launch imports Services and Server, which imports Services and Serverhelper, Which import Services, Services, Server, and PacketLib, which imports Services.
See the issue?
This is not only a terrible way to go about with code organization, but I need a variable defined in Server to be able to be read and modified in real time in Services and PacketLib. On top of it, I have 8 of these variables across 3 scripts.
How would one go about putting all imported scripts in the same 'namespace', removing the need for the bogus recursive imports, and allowing for a 'one variable across infinite scripts' execution model of say, C#?
There shouldn't be any issue with recursive imports.