namespace for released packages?

Peter Otten __peter__ at web.de
Mon Jul 19 06:49:32 EDT 2004


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




More information about the Python-list mailing list