Re: Python Style Question

  • From: "Littlefield, Tyler" <tyler@xxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Thu, 09 Jun 2011 13:21:25 -0600

The generally accepted indentation scheme is 4 spaces, yes. But if two works for you, stick with it. It's not all that hard to do a replace with two spaces in the find box and 4 spaces as replace, or 4 in the find and two in the box, etc etc.

On 6/9/2011 1:12 PM, Homme, James wrote:

Hi,

Up till now, because I have a Braille display, I've been indenting my Python only two spaces. Is the accepted style to indent four spaces instead? If so, I'm going to either change 2 to 4 spaces once I have my code written, or make a new JAWS scheme that indents 4 spaces for EdSharp and change my parameter that controls indenting.

Thanks.

Jim

Jim Homme,

Usability Services,

Phone: 412-544-1810.


This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.


--

Take care,
Ty
my website:
http://tds-solutions.net
my blog:
http://tds-solutions.net/blog
skype: st8amnd127
My programs don't have bugs; they're randomly added features!

Other related posts: