Is there a way to configure IDLE to use spaces instead of tabs for indenting?
Terry Reedy
tjreedy at udel.edu
Sat Aug 25 07:29:48 EDT 2012
On 8/24/2012 6:33 PM, Alex wrote:
> I'm new to Python and have been using IDLE 3.2.3 to experiment with
> code as I learn. Despite being configured to use a 4 space indentation
That applies to the editor and works in the editor for me and others. A
tab becomes 4 space characters, and a backspace in the appropriate place
deletes 4 space characters.
> width, sometimes IDLE's "smart" indentation insists upon using width-8
> tabs.
Only for the simulated interpreter. There is a tracker issue about
changing that but no consensus.
--
Terry Jan Reedy
More information about the Python-list
mailing list