http://www.python.org/doc/essays/styleguide.html
Authored by Guido Van Rossum himself.
Cheers,
Richard
On 8/13/06, dave s <[EMAIL PROTECTED]> wrote:
As my programs become more complex I am aware of the need to adopt a
consistent style. To differentiate between classes, instances & objects I use
capital letters for example:
A class uses 'MyClass'
A class instance 'myInstance'
A def uses 'myDef'
An object 'myobject' or 'my_object' etc
Can any of you more experienced programmers outline your style or critique my
way of doing this ? Tell me if you have a different system - I am trying to
get myself into good habits :)
Is there a Python style guide anywhere ?
Cheers
Dave
PS
I have started using packages, so much easier and more flexable than long
PYTHONPATH declarations and am now proramming with QT :).
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor