self.__dict__ tricks

Ben Finney ben+python at benfinney.id.au
Fri Oct 30 05:55:04 CET 2009


Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:

> On Thu, 29 Oct 2009 21:16:37 -0500, Tim Johnson wrote:
> > class formLoader():
>
> Idiomatic Python is to use CamelCase for classes.

Or rather: Instead of camelCase names, idiomatic Python is to use
TitleCase names.

-- 
 \     “We are not gonna be great; we are not gonna be amazing; we are |
  `\           gonna be *amazingly* amazing!” —Zaphod Beeblebrox, _The |
_o__)                Hitch-Hiker's Guide To The Galaxy_, Douglas Adams |
Ben Finney



More information about the Python-list mailing list