I have a file, "a.py"

blah = None
def go():
    global blah
    blah = 5

>From the python interpreter I try....

>>> from a import *
>>> blah
>>> go()
>>> blah
>>>

...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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to