namespace for released packages?
Terry Reedy
tjreedy at udel.edu
Sun Jul 18 15:49:41 EDT 2004
"Alex Hunsley" <lard at tardis.ed.ac.molar.uk> wrote in message
news:iUzKc.64763$q8.54454 at fe1.news.blueyonder.co.uk...
> Alex Hunsley wrote:
>
> > What is the python convention for namespaces of released packages? In
> > Java you'd write your domain name (if you have one) backwards, this:
> >
> > uk.org.ohmslaw.myPackage
> >
> > ... thus ensuring uniqueness. Is it the same for Python?
> I presume the lack of replies and what I've seen on code on the net
> means that the modus operandi is to just have your python at the top
> level, and not in a package that makes it unique... I find this quite
> strange! Do problems not arise due to module name clashes?
Third party packages are generally put in the site-packages directory. So
far, there has not be much problem with name clashes.
tjr
More information about the Python-list
mailing list