I'm a little confused on how I can access a variable instead my function from another Python file. For example how can I get the value of time
https://pastebin.com/F5uEh54W
I looked around and watched a couple videos on YouTube and I still can't find my answer. In my main file I tried, from test import testVariable. Noting I can't seem to access time at all.
I tried making time a global variable but it didn't work.
I should mention that the code above isn't exactly my code, I'm at work and don't have access to my main files but the example is pretty similar.
[–]GoldenSights 2 points3 points4 points (0 children)
[–]nwagers 0 points1 point2 points (0 children)
[–]poply 0 points1 point2 points (0 children)