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 the alignment of my edit and the other part of code. Code is quite large I can't re indent it.
Asked
Active
Viewed 3.8k times
19
-
3Possibly a mix of tabs and spaces? If that's the case, you can download Notepad++ and use [convert tabs to spaces](http://stackoverflow.com/questions/455037/notepad-convert-tabs-to-spaces) to homogenize your indentations. – Cory Kramer Nov 06 '14 at 13:40
-
2Use `spaces` rather then `tabs`, and don't mix both of these. – Vishnu Upadhyay Nov 06 '14 at 13:42