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

Python indentation (3 spaces)

Terry Reedy <tjreedy at udel.edu> wrote:
> On 10/5/2018 4:48 PM, ts9564 at gmail.com wrote:
> > I am new to Python programming but have significant SQL and C experience. 
> My simple question is,"Why not standardize Python indentations to 3 spaces 
> instead of 4 in order to avoid potential programming errors associated 
> with using "TAB" instead of 4 spaces?" 
> IDLE (and other modern editors and IDEs) turns a typed TAB into a 
> user-settable n spaces, where n defaults to 4 (minimum 2, maximum 16).
Other 'modern' editors? :-)  I use a vile clone (hardly modern) and
that gives me every possible option of what to do when a TAB is

Chris Green