Filenames started with _(underscore) in Modules/ why?

Thomas Jollans t at jollybox.de
Sun Jun 24 03:45:12 CEST 2012


On 06/24/2012 02:54 AM, gmspro wrote:
> There are some files whose filename is started with _(underscore). Why
> are they started with
> a underscore?

By convention, a leading underscore means private/internal.

A module with a leading underscore is typically an implementation detail 
of another module with a public API, and should be ignored.




More information about the Python-list mailing list