PEP for module naming conventions

eryksun () eryksun at gmail.com
Thu Mar 17 12:17:12 EDT 2011


On Friday, March 11, 2011 4:52:57 PM UTC-5, Tim Johnson wrote:
> I need to be better informed on naming conventions for modules.  For
> instance, I need to create a new module and I want to make sure that
> the module name will not conflict with any future or current python
> system module names.

Do you mean package names? Within a package you can use relative imports to avoid conflicts. You could put all of your packages in a metapackage namespace with a unique name -- a company/group name or personal/family name, an uncommon English word, or something from another language.



More information about the Python-list mailing list