[Tutor] Style query

Richard Querin rfquerin at gmail.com
Sun Aug 13 14:02:10 CEST 2006


I believe you can find it here:

http://www.python.org/doc/essays/styleguide.html

Authored by Guido Van Rossum himself.


Cheers,

Richard


On 8/13/06, dave s <pythontut at pusspaws.net> 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 at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060813/cb338018/attachment.html 


More information about the Tutor mailing list