On Fri, 2006-03-31 at 12:46 -0800, Karthik Gurusamy wrote:
> Ben Finney wrote:
> > [EMAIL PROTECTED] writes:
> >
> > > I'm fairly new to python. I like to define a big dictionary in two
> > > files and use it my main file, build.py
> > >
> > > I want the definition to go into build_cfg.py and build
"Karthik Gurusamy" <[EMAIL PROTECTED]> writes:
> Ben Finney wrote:
>> That sounds like a very confusing architecture, and smells very
>> much like some kind of premature optimisation. What leads you to
>> that design? It's very likely a better design can be suggested to
>> meet your actual require
Ben Finney wrote:
> [EMAIL PROTECTED] writes:
>
> > I'm fairly new to python. I like to define a big dictionary in two
> > files and use it my main file, build.py
> >
> > I want the definition to go into build_cfg.py and build_cfg_static.py.
>
> That sounds like a very confusing architecture, and s
Ben Cartwright wrote:
> [EMAIL PROTECTED] wrote:
> > I like to define a big dictionary in two
> > files and use it my main file, build.py
> >
> > I want the definition to go into build_cfg.py and build_cfg_static.py.
> >
> > build_cfg_static.py:
> > target_db = {}
> > target_db['foo'] = 'bar'
> >
>
[EMAIL PROTECTED] writes:
> I'm fairly new to python. I like to define a big dictionary in two
> files and use it my main file, build.py
>
> I want the definition to go into build_cfg.py and build_cfg_static.py.
That sounds like a very confusing architecture, and smells very much
like some kind o
[EMAIL PROTECTED] wrote:
> I like to define a big dictionary in two
> files and use it my main file, build.py
>
> I want the definition to go into build_cfg.py and build_cfg_static.py.
>
> build_cfg_static.py:
> target_db = {}
> target_db['foo'] = 'bar'
>
> build_cfg.py
> target_db['xyz'] = 'abc'
>
Hi,
I'm fairly new to python. I like to define a big dictionary in two
files and use it my main file, build.py
I want the definition to go into build_cfg.py and build_cfg_static.py.
build_cfg_static.py:
target_db = {}
target_db['foo'] = 'bar'
build_cfg.py
target_db['xyz'] = 'abc'
In build.py, I