Re: [Tutor] name conventions

2012-10-22 Thread eryksun
On Mon, Oct 22, 2012 at 1:43 PM, Mike McTernan livingm...@gmail.com wrote:
 Hi there,

 I am doing some online tutorials and have found two approaches to
 naming things: this_is_a_name and thisIsAName.

Read PEP 8, specifically the section on Naming Conventions:

http://www.python.org/dev/peps/pep-0008/#naming-conventions
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] name conventions

2012-10-22 Thread Emile van Sebille

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

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor