[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Programming first steps.



* Steve Greenland (steveg@moregruel.net) wrote:
> To clarify: AFAICT, Python is perfectly happy with any sort of
> indentation you choose, so long as it's consistent in any given block.
> You want to use '<space><space><tab>', fine. Just don't try to mix it
> with '<space><tab>' in the same block.
> 
> As a practical matter, since the above are likely to be visually
> indistinguishable, you need an editor that always produces exactly the
> same character combination for a given number of columns of indent.

Or you could just let your editor show you spaces and tabs so it's not
such a secret:

set list
set listchars=tab:>-,trail:-

Josh



Reply to: