Possible Duplicate:
IndentationError: unindent does not match any outer indentation level
I have the following python code.
import sys
ins = open( sys.argv[1], "r" )
array = []
for line in ins:
s = line.split()
array.append( s[0] ) # <-- Error here
print array
ins.close()
The python interpreter complains
File "sort.py", line 7
array.append( s[0] )
^
IndentationError: unindent does not match any outer indentation level
Why so? And how to correct this error?