Hi guys I have question about global variable.
I have file A,
global var = 0
, file B.
import A
for i in range(1000):
A.var += 1
time.sleep(1)
and file C.
print(A.var)
Well,how can I get the variable (A.var of B) by C when B is running?
Ex. Resule C is 60 when B has been running 60s ago.
Thanks for reading!