IndentationError

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Dec 10 20:36:10 EST 2009


En Wed, 09 Dec 2009 16:32:18 -0300, hong zhang <henryzhang62 at yahoo.com>  
escribió:

> I got error says IndentationError in end of line.
> I could not figure out why. See following:
>
> $ ./cont-mcs
>   File "./cont-mcs", line 264
>     mcs1 = ht_val+cck_val+green_val+fat_val+sgi_val
>                                                   ^
> IndentationError: unindent does not match any outer indentation level

The caret ^ might be misplaced; look at start of line 264, or perhaps the  
previous line.
Remember not to mix tabs and spaces.

-- 
Gabriel Genellina




More information about the Python-list mailing list