"MonkeeSage" schrieb 
> >
> > If I have understood python naming scoping correctly,
> > doing
> >    my_var="hello"
> >    import stuff
> >    print my_var
> > is not the same as
> >    my_var="hello"
> >    exec open("stuff.py").read()
> >    print my_var
> > with stuff.py containing
> >    my_var="bye"
> 
> It's not the same...
> 
> from stuff import *
> 
> ...is.
> 
And indeed it is. Thanks.
Martin

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

Reply via email to