Project organization and import

Martin Unsal martinunsal at gmail.com
Tue Mar 6 02:53:37 EST 2007


On Mar 5, 3:11 pm, Bruno Desthuilliers
<bdesth.quelquech... at free.quelquepart.fr> wrote:
> Your own experience *with Python* ?

No, my experience with Visual Basic. ;)

Of course my experience with Python!

Sorry, I can continue writing snarky replies to your snarky comments
but that won't get us anywhere productive. Instead I think the
following really gets to the crux of the issue.

> May I say that the problem here comes from your insistance on putting
> each class in a single module ?

No, it doesn't.

It really doesn't matter how many classes you have in a module; either
you use "from foo import bar", or you are stuck with a file structure
that is isomorphic to your design namespace.

The former breaks reload; the latter breaks large projects.

Martin




More information about the Python-list mailing list