Assigning to variable from parent function: "Local variable referenced before assignment"
12655
Don't understand why UnboundLocalError occurs (closure)
70969
Is there any way to access a local variable in outer scope in C++?
54671
assignment in javascript and the var keyword
142412
How to get/set local variables of a function (from outside) in Python?
25709
Passing argument from Parent function to nested function Python
102015
Variable assigned to the last executed line?
121537
JavaScript: Reference a functions local scope as an object
129423
How to change a global variable from within a function?
45188
How do I pass a variable by reference?
46205
UnboundLocalError with nested function scopes
99805
Referencing a JavaScript value before it is declared - can someone explain this
58106
Local variables in Module leak into the Global context
75407
How to use a variable in a different function?
132476
How to set Block local variables by code?
73866
Why must local variables have initial values?
1462
UnboundLocalError on local variable when reassigned after first use
133111
How do I share variables between two functions?