query: python how come function sees external variables?
positive_passages.docid: 951
positive_passages.text: Using global variables in a function
negative_passages.docid: 36080
negative_passages.text: Why are Python's 'private' methods not actually private?
negative_passages.docid: 29612
negative_passages.text: How to find the name of a variable that was passed to a function?
negative_passages.docid: 102726
negative_passages.text: Why does C++ parameter scope affect function lookup within a namespace?
negative_passages.docid: 120556
negative_passages.text: What does `` mean in Python?
negative_passages.docid: 52385
negative_passages.text: Weird evaluation order in chained functions
negative_passages.docid: 89549
negative_passages.text: Can anyone explain this 'variable does not exist error'?
negative_passages.docid: 12738
negative_passages.text: Correct Use Of Global Variables In Python 3
negative_passages.docid: 2902
negative_passages.text: external variable in awk
negative_passages.docid: 50633
negative_passages.text: What does Python's eval() do?
negative_passages.docid: 70461
negative_passages.text: How can I view the source code for a function?
negative_passages.docid: 151869
negative_passages.text: What's the scope of a variable initialized in an if statement?
negative_passages.docid: 35109
negative_passages.text: C++ global and local variables
negative_passages.docid: 20815
negative_passages.text: Assignment of function parameter has no effect outside the function
negative_passages.docid: 70969
negative_passages.text: Is there any way to access a local variable in outer scope in C++?
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: 79873
negative_passages.text: Accessing variables from other functions without using global variables