On 10/16/2010 8:35 AM Tim Johnson said...
* Dave Angel<da...@ieee.org>  [101016 03:45]:

1) The code is correct.  But it'd be much clearer if you followed
conventions and named your class with a leading uppercase.  So the
module would be called tmpl, and the class would be called Tmpl.
  <blush>  I didn't know there was such a convention. Serves me right
  for being self-taught and self-employed</blush>

Pep 8 is the generally accepted style guide.

http://www.python.org/dev/peps/pep-0008/

Although there are few recommendations I don't follow, it's good to write in the style most everyone else strives for.

Emile


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

Reply via email to