Non-Indented python

Wolfgang Strobl ws at mystrobl.de
Fri Nov 30 17:40:08 EST 2001


On Fri, 30 Nov 2001 14:57:20 -0500, "Tim Peters" <tim.one at home.com>
wrote :

>[Michael Abbott]

>> There doesn't seem to be an environment variable which can pre-set
>> command line options, so I'll have to do something more tricksy to get
>> -tt set by default.
>
>A .bat file is easiest on Windows.

I prefer changing the registry key

HKCR/Python File/Shell/Open/Command from

"H:\Python21\python.exe" "%1" %*
to
"H:\Python21\python.exe" -tt "%1" %*

on W2K.

E:\>test.py
TabError: inconsistent use of tabs and spaces in indentation (test.py,
line 3)


-- 
Thank you for observing all safety precautions



More information about the Python-list mailing list