In most other languages indentation is not compulsory, but in Python (and other languages: early versions of FORTRAN, Makefiles, Whitespace (esoteric language), etc.) that is not the case, what can be confusing if you come from another language, if you were copying code from an example to your own, or simply if you are new.
This exception is raised when the indentation level increases with no reason.
There is no reason to increase the level here:
print "This line is ok"
print "This line isn't ok"
print("This line is ok")
print("This line isn't ok")
Here there are two errors: the last one and that the indentation does not match any indentation level. However just one is shown:
print "This line is ok"
print "This line isn't ok"
print("This line is ok")
print("This line isn't ok")
Appears you didn’t unindent completely.
def foo():
print "This should be part of foo()"
print "ERROR!"
print "This is not a part of foo()"
print("This line is ok")
print("This line isn't ok")
After a colon (and then a new line) the indentation level has to increase. This error is raised when that didn’t happen.