TabError: inconsistent use of tabs and spaces in indentation
This error in Sublime3 now I meet is seemingly caused by space but in reality there is no space ::
Solution: is to open the sublime spaces tabs display can clearly show whether they really a space.
Such as these:
1 block above the horizontal line on the display represents the real space
The method 2 below in the box, the box appears, in fact, and there is no space success, which shows what a space tabulation by the sublime can be seen.
Sublime3 display setting method spaces tabs:
①.Preferences -> Setting
Add the following code :( above ② in FIG Preferences-> Settings-User in)
"draw_white_space": "all",
with this setting to find the error on the simple, to the empty space better to solve real mistake ----
-> TIPS: like this, you certainly changed many times and found a space or fail, the ultimate solution is:
Copy space above to be like the following.
Modified so that it is not being given!
Original: https: //blog.csdn.net/godot06/article/details/80974884