Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread David Worrall
Piet, Ronald, You have been most kind in taking the time to answer these queries. Thank you. David On 20/01/2007, at 12:08 AM, Ronald Oussoren wrote: > > On Friday, January 19, 2007, at 01:45PM, "Piet van Oostrum" > <[EMAIL PROTECTED]> wrote: >> >>> DW> And after py2app? >> >> I am not very fa

Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread Ronald Oussoren
On Friday, January 19, 2007, at 01:45PM, "Piet van Oostrum" <[EMAIL PROTECTED]> wrote: > >>DW> And after py2app? > >I am not very familiar with py2app, but I think it packs up the necessary >.pyc modules into the executable. But I am quite sure it will always pack >the whole .pyc file. It would

Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread Piet van Oostrum
> David Worrall <[EMAIL PROTECTED]> (DW) wrote: >DW> Hello all, >DW> I've got a query which is probably obvious for people more >DW> experienced than I >DW> but I can't find any exact reference to it elsewhere. >DW> It's not mac specific, but hey, I already belong to too many dev >DW> grou

Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread Piet van Oostrum
I should add another difference in the behaviour of variables import in one or the other way. This can lead to subtle differences. If you use 'from module import x, y' (or 'from module import *') Python makes new `bindings' of the names `x' and `y' in the importing module with the values these nam

[Pythonmac-SIG] importing namespaces/modules

2007-01-18 Thread David Worrall
Hello all, I've got a query which is probably obvious for people more experienced than I but I can't find any exact reference to it elsewhere. It's not mac specific, but hey, I already belong to too many dev groups... :-) The discussion at http://docs.python.org/tut/node11.html is OK but it