Changing tab behavior in Python Interactive mode

Terry Reedy tjreedy at udel.edu
Fri Jan 29 19:24:15 EST 2010


On 1/29/2010 4:43 PM, Andrej Mitrovic wrote:
> On Jan 29, 10:07 pm, Steve Holden<st... at holdenweb.com>  wrote:
>> Andrej Mitrovic wrote:
>>> On Jan 29, 6:47 pm, Steve Holden<st... at holdenweb.com>  wrote:
>>>> Andrej Mitrovic wrote:
>>>>> I've noticed that when running Python in interactive mode (via cmd on
>>>>> windows), the first time I hit tab it will move 4 spaces to the right,

>> I's nothing to do with the source: it isn't the interpreter that's
>> deciding where the "tab stops" are, it's the console window the
>> interpreter is running in.

> I see. Well I'm nitpicking here, it's not all that important (I just
> use cmd when I'm trying out small pieces of code). And I doubt there's
> a tabstop setting for cmd that I could use.

Nope. I checked the properties dialog (rt click upper left icon).
You might want to turn on quickeditmode (as admin).

Terry Jan Reedy




More information about the Python-list mailing list