[Tutor] Single Underscore

Chinook chinook.nr at tds.net
Mon Jul 11 05:34:43 CEST 2005


Kevin Reeder wrote:

>What's the significance of naming a variable with a single
>underscore as its first character? For example, I'm looking at
>find.py in the standard library and it has variables named _debug
>and _prune.
>
>Kevin 
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
>
>  
>
Kevin,

If it is naming conventions then possibly they mean a private property 
or method.
http://jaynes.colorado.edu/PythonGuidelines.html

Lee C



More information about the Tutor mailing list