
I love Linux and Linux tools and I’m a big fan of it, using it for Servers since 1995. Programs I use for Windows in my Workstations This entry was posted in Python and tagged indent, P圜harm, Python, Python 3.6, Tab \t on by Carles Mateo. And in this case the impostor was not a camouflaged tab \t but 3 spaces instead of four. P圜harm will highlight all the places were this indentation (4 spaces) is present, so you’ll find the impostor without going blind or losing to many time.Īs you can see, in front of def execute_command_without_waiting we don’t have 4 spaces. Well, this error is very annoying cause it means that you mixed spaces and Tabs as indent separators.īut you can go crazy trying to find a tab in your code, so there is a trick that I came with:īasically go to Menu Edit > Find and then type 4 times space.

That’s a pain when you copy and past and the IDE reindents the code thinking that is doing great, or generate a new inner class instead of replacing all the code. Blocks of code are defined by their indentation position.
