May-28-2020, 12:54 PM
I don't know the scope of your program but, just wanted to point out that these are already global variables. Not really any need to define them global in your functions.
myvar = 15 def test(): print(myvar) test()
Output:15
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags