Misuse of <tab>

Christopher Koppler klapotec at chello.at
Thu Jul 31 02:52:06 EDT 2003


On Wed, 30 Jul 2003 15:20:46 -0500, "Michael Sampson"
<milkchug89 at hotmail.com> wrote:

>How does the IDLE that comes with the latest release of python handle this?
>When it automaticly indents does it do it with spaces or tabs?  If you hit
>tab in the IDLE will it just put 5 spaces in for you?
>

IDLE 1.0 (from Python 2.3) has a pretty configuration dialog, accessed
via Options|Configure IDLE, which lets you define its behaviour - do
you want it to insert tabs as tabs or spaces, and how many spaces do
you want, the default seeming to be converting a tab to 4 spaces.

And, as others have said, DON'T use 5.



--Christopher




More information about the Python-list mailing list