UnboundLocalError when variable is clearly local
45856
UnboundLocalError: local variable 'url_request' referenced before assignment
91006
Why can I refer to a variable outside of an if/unless/case statement that never ran?
112198
Global Variables vs. Local Variables
2266
Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
79760
Cannot store a value in local storage
18605
Local variables in nested functions
30914
Unbound variable and name
109716
How to print value of global variable and local variable having same name?
138102
Python 3: UnboundLocalError: local variable referenced before assignment
12683
How to access a local variable from a different function using pointers?
89331
Variable does not exist in the current context?
55989
Why isn't rc.local executed?
145829
Do Table iteration variables need to be localized using Module?
113603
Declare local variables as late as possible or at the nearest curly brace they belong?
44960
Are global variables bad?
90050
returning a local variable from function in C
113247
scope of local variables of a function in C