In article ,
Stefaan Himpe wrote:
>
>Recently someone asked me this question, to which I could not give an
>answer. I'm hoping for some insight, or a manual page. What follows is
>python 2.6.
>
>The problem is with the difference between
>
>from test import *
>
>and
>
>import test
Just adding
On 12/10/2010 2:22 PM Ian said...
On Dec 10, 3:06 pm, Stefaan Himpe wrote:
Somehow, in the first session I cannot modify the global variable a
returned from f, but in the second session I can. To my eye, the only
difference seems to be a namespace. Can anyone shine some light on this
matter?
On Dec 10, 3:06 pm, Stefaan Himpe wrote:
> Somehow, in the first session I cannot modify the global variable a
> returned from f, but in the second session I can. To my eye, the only
> difference seems to be a namespace. Can anyone shine some light on this
> matter?
It's not the same global varia
Hello list,
Recently someone asked me this question, to which I could not give an
answer. I'm hoping for some insight, or a manual page. What follows is
python 2.6.
The problem is with the difference between
from test import *
and
import test
First things first. Here's the code to test.py