
Is there a good example to throttle?
I have a single button. The button turns on and off something. But, I keep having variable scope issues.
value=False
def on_click():
if value:
value=False
else:
value=True
Trying to do something like that but keep getting UnboundLocalError

