migrating to packages

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Fri Oct 5 12:10:59 CEST 2007


Gerardo Herzig a écrit :
> Carl Bank a écrit :
>>
>> Add these lines in __init__.py:
>>
>> from MYCLASSES.A import A
>> from MYCLASSES.B import B
>>  
>>
> Ummm, that works indeed, but forces me to import all (more than A and B) 
> classes, rigth?

Why so ?




More information about the Python-list mailing list