[Solved] Access global variable across multiple modules and threads
The problem is that two instances of the variable X are created in such a set-up: one in a.py and another in b.py. The problem also occurs in this example that reduces it to the essence — it is not related to creating threads: Problem in most simple form File a.py: X = “original value” … Read more