What is causing these indentation errors in python? This drives me crazy as I run into them and just mess around until it goes away.
Python compilers can be extremely sensitive and treat tabs and spaces separately. You cannot use tab on some lines and use spaces on others, even if they appear to be the same within the shell or editor.