How do I rectify the error \"unexpected indent\" in python?
In Python, the spacing is very important, this gives the structure of your code blocks. This error happens when you mess up your code structure, for example like this :
def test_function() :
if 5 > 3 :
print "hello"
You may also have a mix of tabs and spaces in your file.
I suggest you use a python syntax aware editor like PyScripter, or Netbeans