Mar-29-2018, 03:15 AM
You can't assign to a global name (expecting it to change globally) unless you include a
global
declaration at the top of the function. The fact that you have to do this is generally indicative of a design flaw though as global variables are bad (constants fine).