Project organization and import

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue Mar 6 06:01:09 EST 2007


Martin Unsal a écrit :
> 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 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;

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




More information about the Python-list mailing list