A
abcd
I have a file, "a.py"
blah = None
def go():
global blah
blah = 5
....i was hoping to see "5" get printed out the second time I displayed
blah, but it doesn't. Now, if I type this same code directly into the
python interpreter it works as i was hoping. what i am missing?
thanks
blah = None
def go():
global blah
blah = 5
From the python interpreter I try....
....i was hoping to see "5" get printed out the second time I displayed
blah, but it doesn't. Now, if I type this same code directly into the
python interpreter it works as i was hoping. what i am missing?
thanks