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

Discussion in 'Python' started by Thomas Jollans, Jun 24, 2012.

  1. 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.
     
    Thomas Jollans, Jun 24, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. B.J.
    Replies:
    4
    Views:
    757
    Toby Inkster
    Apr 23, 2005
  2. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,071
    Smokey Grindel
    Dec 2, 2006
  3. Jake Barnes
    Replies:
    2
    Views:
    319
  4. Chris Angelico
    Replies:
    0
    Views:
    252
    Chris Angelico
    Jun 24, 2012
  5. Stefan Behnel
    Replies:
    0
    Views:
    227
    Stefan Behnel
    Jun 24, 2012
Loading...

Share This Page