On Sat, 17 Nov 2007 12:19:07 +0200, Donn Ingle wrote: >> BTW, it is a convention for method names to be lower case, and classes >> to be Title case. Seeing something like obj.Draw, most(?) Python >> developers will expect that the Draw attribute of obj is itself a >> class: > Thanks, I'm pretty damn unorganized in that way. Is it convention to do: > > class BigLetterAndCamels(): > def smallLetterAndCamels() > > or > def smallletterandnocamels() > > ?
See the PEP and Guido's essay for recommended conventions: http://www.python.org/dev/peps/pep-0008/ http://www.python.org/doc/essays/styleguide.html -- Steven. -- http://mail.python.org/mailman/listinfo/python-list