Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > problem with tabnanny

Thread Tools

problem with tabnanny
Posts: n/a

Hi to all,

tabnanny module seems not to work (at least for me)
Please write this two lines of code in a file (i called

#---------8<---- -------------

if 1:
print "error"

#---------8<------ end -------

If I try

$ python
File "/home/pier/", line 2
print "error"
IndentationError: expected an indented block

and this is correct. But the following
$ python /usr/lib/python2.2/ -v
'/home/pier/': Clean bill of health.

for tabnanny it's correct!?
I've tried this also with python 2.3 compiled from source
with the same results.

Any ideas
(Pease cc the mail to m3tr0 at

Best regards

Pier Carteri

This mail sent through IMP:

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tabnanny errors when Migrating Python 2.4 code to 2.5 Python 3 01-04-2008 10:28 PM
RE: Tabnanny? Anna M. Python 1 06-09-2005 12:36 AM
Re: Tabnanny? Douglas Soares de Andrade Python 0 06-08-2005 09:04 PM
Re: Tabnanny? Douglas Soares de Andrade Python 0 06-08-2005 08:45 PM
Tabnanny really useful? Franz Steinhaeusler Python 16 12-23-2004 10:30 AM