Newbie: splitting dictionary definition across two .py files

Ben Finney bignose+hates-spam at
Fri Mar 31 03:47:12 CEST 2006

kar1107 at writes:

> I'm fairly new to python. I like to define a big dictionary in two
> files and use it my main file,
> I want the definition to go into and

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 requirements.

 \     "If you can't annoy somebody there is little point in writing." |
  `\                                                  -- Kingsley Amis |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list