namespace for released packages?

Alex Hunsley lard at tardis.ed.ac.molar.uk
Mon Jul 19 12:20:40 EDT 2004


Peter Otten wrote:

> Alex Hunsley wrote:
> 
> 
>>>It is pretty rare to get clashes - module authors are generally
>>>nice enough to make sure nobody else is using their package name
>>>before releasing things and generally package everything into
>>>a single top-level module.
>>
>>Doesn't a single top level module translate into all the source being in
>>one file? (please correct if I'm wrong about this!)
> 
> 
> Yes, but when the module grows you can transparently turn it into a package,
> as package.py and package/__init__.py are freely interchangeable.
> 
> Peter

ah gotcha, I know what you mean...

alex




More information about the Python-list mailing list