Re: module global variables

2008-05-13 Thread pistacchio
On 12 Mag, 11:11, pistacchio <[EMAIL PROTECTED]> wrote: > On 12 Mag, 10:47, Marco Mariani <[EMAIL PROTECTED]> wrote: > > >pistacchiowrote: > > > On 12 Mag, 10:01, alex23 <[EMAIL PROTECTED]> wrote: > > >> On May 12, 5:17 pm,pistacchio<[EMAIL PROTECTED]> wrote: > > > >>> hi to all! > > >>> can i load

Re: module global variables

2008-05-12 Thread pistacchio
On 12 Mag, 10:47, Marco Mariani <[EMAIL PROTECTED]> wrote: > pistacchio wrote: > > On 12 Mag, 10:01, alex23 <[EMAIL PROTECTED]> wrote: > >> On May 12, 5:17 pm, pistacchio <[EMAIL PROTECTED]> wrote: > > >>> hi to all! > >>> can i load a module passing to it, automatically and as default, all > >>> t

Re: module global variables

2008-05-12 Thread Marco Mariani
pistacchio wrote: On 12 Mag, 10:01, alex23 <[EMAIL PROTECTED]> wrote: On May 12, 5:17 pm, pistacchio <[EMAIL PROTECTED]> wrote: hi to all! can i load a module passing to it, automatically and as default, all the caller's global variables to act as module's global variables? Are you positivel

Re: module global variables

2008-05-12 Thread pistacchio
On 12 Mag, 10:10, pistacchio <[EMAIL PROTECTED]> wrote: > On 12 Mag, 10:01, alex23 <[EMAIL PROTECTED]> wrote: > > > On May 12, 5:17 pm, pistacchio <[EMAIL PROTECTED]> wrote: > > > > hi to all! > > > can i load a module passing to it, automatically and as default, all > > > the caller's global varia

Re: module global variables

2008-05-12 Thread pistacchio
On 12 Mag, 10:01, alex23 <[EMAIL PROTECTED]> wrote: > On May 12, 5:17 pm, pistacchio <[EMAIL PROTECTED]> wrote: > > > hi to all! > > can i load a module passing to it, automatically and as default, all > > the caller's global variables to act as module's global variables? > > thanks > > module = __

Re: module global variables

2008-05-12 Thread alex23
On May 12, 5:17 pm, pistacchio <[EMAIL PROTECTED]> wrote: > hi to all! > can i load a module passing to it, automatically and as default, all > the caller's global variables to act as module's global variables? > thanks module = __import__('module', globals=globals()) I think that's what you're l

module global variables

2008-05-12 Thread pistacchio
hi to all! can i load a module passing to it, automatically and as default, all the caller's global variables to act as module's global variables? thanks -- http://mail.python.org/mailman/listinfo/python-list