Re: [Tutor] Style query
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 <[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
Re: [Tutor] Style query
I believe you can find it here:http://www.python.org/doc/essays/styleguide.htmlAuthored by Guido Van Rossum himself.Cheers, RichardOn 8/13/06, dave s <[EMAIL PROTECTED]> wrote: As my programs become more complex I am aware of the need to adopt aconsistent style. To differentiate between classes, instances & objects I usecapital letters for example:A class uses 'MyClass'A class instance 'myInstance' A def uses 'myDef'An object 'myobject' or 'my_object' etcCan any of you more experienced programmers outline your style or critique myway 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 ?CheersDavePSI have started using packages, so much easier and more flexable than longPYTHONPATH declarations and am now proramming with QT :). ___Tutor maillist - Tutor@python.orghttp://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] Style query
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