indentation error

Tim Roberts timr at
Sun Mar 7 01:49:33 CET 2010

asit <lipun4u at> wrote:
>According to me, indentation is ok. but the python interpreter gives
>an indentation error
>[asit ~/py] $ python
>  File "", line 7
>    findResults = string.split(commandOutput, "\n")
>                                                  ^
>IndentationError: unindent does not match any outer indentation level

The most likely cause is mixing spaces with tabs.
Tim Roberts, timr at
Providenza & Boekelheide, Inc.

More information about the Python-list mailing list