global variable and Python

Posted by rejinacm on Stack Overflow See other posts from Stack Overflow or by rejinacm
Published on 2009-01-08T05:45:02Z Indexed on 2010/04/25 10:23 UTC
Read the original article Hit count: 406

A global variable created in one function cannot be used in another function directly. Instead I need to store the global variable in a local variable of the function which needs its access. Am I correct? Why is it so?

© Stack Overflow or respective owner

Related posts about python

Related posts about global-variables