[pythonvis] Re: Indentation of code

  • From: Sharon Hooley <shooley2@xxxxxxxxxx>
  • To: "pythonvis@xxxxxxxxxxxxx" <pythonvis@xxxxxxxxxxxxx>
  • Date: Thu, 08 May 2014 12:51:13 -0600

Maybe you could type, indent 2, indent 4, ectcetera, then type the colon before 
skipping the line?


Sent from my iPhone

> On May 7, 2014, at 8:41 PM, Richard Dinger <rrdinger@xxxxxxxxxx> wrote:
> 
> A close relative to Sharon’s code format issue is how many spaces to use in 
> code examples.  This may be controversial.
>  
> Although four spaces is the most common indentation, I suggest two spaces per 
> indentation level will work better especially for email.  Two and four spaces 
> are both common standards, but four spaces eats too much page territory.
>  
> Richard

Other related posts: