[Tutor] Style query

dave s pythontut at pusspaws.net
Sun Aug 13 14:13:19 CEST 2006


On Sunday 13 August 2006 12:02, you wrote:
> I believe you can find it here:
>
> http://www.python.org/doc/essays/styleguide.html
>
> Authored by Guido Van Rossum himself.
>

Thanks :)

Dave


>
> 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


More information about the Tutor mailing list