Re: Accessing global namespace from module

2007-06-12 Thread Reuben D. Budiardja
On Monday 11 June 2007 23:49:14 Gabriel Genellina wrote: > En Mon, 11 Jun 2007 22:19:15 -0300, Reuben D. Budiardja > > It'll be great if I can > > put > > this trick on a single file that is included by the main scripts, to > > > According to your description on

Re: Accessing global namespace from module

2007-06-12 Thread Reuben D. Budiardja
On Monday 11 June 2007 23:49:14 Gabriel Genellina wrote: > En Mon, 11 Jun 2007 22:19:15 -0300, Reuben D. Budiardja > > >It'll be great if I can > > put > > this trick on a single file that is included by the main scripts, to > > avoid > > violating DRY pri

Re: Accessing global namespace from module

2007-06-11 Thread Reuben D. Budiardja
ion. Do I have to do this for ever script I write, or can I put this into separate file and "include" it somehow ? I am going to have several mainscripts.py, and all is going to import myModule that will need access to this plots subroutine. It'll be great if I can put this trick on a single file that is included by the main scripts, to avoid violating DRY principle. Thanks for all the help. RDB -- Reuben D. Budiardja -- http://mail.python.org/mailman/listinfo/python-list