query: Change a global variable through a function: UnboundLocalError
positive_passages.docid: 951
positive_passages.text: Using global variables in a function
negative_passages.docid: 2266
negative_passages.text: Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
negative_passages.docid: 67487
negative_passages.text: Javascript equivalent of Python's locals()?
negative_passages.docid: 10668
negative_passages.text: Is there a way to set a *global* key value using `pgfkeys`?
negative_passages.docid: 1462
negative_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 85243
negative_passages.text: Modifying a List in a function in place
negative_passages.docid: 8220
negative_passages.text: Can't access global variable inside function
negative_passages.docid: 130222
negative_passages.text: Android global variable
negative_passages.docid: 55636
negative_passages.text: Access outside variable in loop from Javascript closure
negative_passages.docid: 31972
negative_passages.text: Why is the global keyword not required in this case?
negative_passages.docid: 58106
negative_passages.text: Local variables in Module leak into the Global context
negative_passages.docid: 19156
negative_passages.text: Global Variables for Class Methods
negative_passages.docid: 97960
negative_passages.text: How can I make a function defined in jQuery.ready available globally?
negative_passages.docid: 108536
negative_passages.text: Manipulate using a variable defined outside of the manipulate function
negative_passages.docid: 91132
negative_passages.text: How to change a project variable using Python?
negative_passages.docid: 100152
negative_passages.text: Can not increment global variable from function in python
negative_passages.docid: 74328
negative_passages.text: Tkinter Global Binding