"Mr. Magoo" wrote:

>> $ python -t test.py
>> test.py: inconsistent use of tabs and spaces in indentation
>> hello
>> goodbye
>
> On more question. When using py_compile from with a script, is there any
> way to force the -t flag?

if you want to check for tab problems from inside a script, use the
tabnanny module:

    http://effbot.org/librarybook/tabnanny.htm

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to