module global variables
Marco Mariani
marco at sferacarta.com
Mon May 12 04:47:49 EDT 2008
pistacchio wrote:
> On 12 Mag, 10:01, alex23 <wuwe... at gmail.com> wrote:
>> On May 12, 5:17 pm, pistacchio <pistacc... at gmail.com> 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 positively sure you need this?
Modifying imported modules is already quite fragile, but this.. it's
basically a reversed(import *)
It's quite messy. Where quite equals to "very"
More information about the Python-list
mailing list