[Tutor] name conventions

Emile van Sebille emile at fenx.com
Mon Oct 22 19:56:12 CEST 2012


Mike McTernan wrote:
> Hi there,
> 
> I am doing some online tutorials and have found two approaches to
> naming things: this_is_a_name and thisIsAName.
> 
> Which one is the best practice for Python? I am a totally newbie to
> programming and want to make sure I start with the most common
> approach.
> 

The official word is pep 8 -- http://www.python.org/dev/peps/pep-0008/

Emile



More information about the Tutor mailing list