Project organization and import

Bruno Desthuilliers bdesth.quelquechose at
Tue Mar 6 12:01:09 CET 2007

Martin Unsal a écrit :
> On Mar 5, 3:11 pm, Bruno Desthuilliers
> <bdesth.quelquech... at> wrote:
>>Your own experience *with Python* ?
> No, my experience with Visual Basic. ;)
> Of course my experience with Python!

Sorry but this was really not obvious.

> Sorry, I can continue writing snarky replies to your snarky comments
> but that won't get us anywhere productive. 

You're right - sorry.

> 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;

Which is not a problem. reload() is of very limited use for any 
non-trivial stuff.

More information about the Python-list mailing list