I am using spyder IDE for python coding. I copied the code from some source,it works fine. But when I make edits in it indentation error occurs. There is always some mistake in
In Spyder v3.0.0, go to Source --> Fix Indentation. That worked for me.