Library Naming Conventions.

Fredrik Lundh fredrik at pythonware.com
Tue May 10 11:46:13 EDT 2005


chris.lyon at spritenote.co.uk wrote:

> quoting:
>
>       Modules should have short, lowercase names, without underscores.
>
> this still doesn't explain Cookie.

the document you're quoting also says:

    This document was adapted from Guido's original Python Style
    Guide essay[2]

where [2] points to a document that says:

    Module names can be either MixedCase or lowercase.
    There is no unambiguous convention to decide which
    to use. Modules that export a single class (or a number
    of closely related classes, plus some additional support)
    are often named in MixedCase, with the module name
    being the same as the class name (e.g. the standard
    StringIO module). Modules that export a bunch of
    functions are usually named in all lowercase.

</F>






More information about the Python-list mailing list