[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can global variable be passed into Python function?

On 2/27/14 8:24 AM, Mark H. Harris wrote:
> As others have noted, python does not have a 'variable' concept (references to objects instead) and so your question is a little ambiguous.

Mark, thanks for helping to answer the OP's question.  We've covered (in 
depth) in the rest of this thread, that Python *does* have the concept 
of a variable, it just behaves differently than some other popular 
programming languages (but exactly the same as some other popular 
programming languages!)

Ned Batchelder, http://nedbatchelder.com