TabError: inconsistent use of tabs and spaces in indentation解决

有时候从别人的代码里复制一大段到自己的编辑器时,或者从一个编辑器复制到另一个编辑器时总会莫名出现TabError: inconsistent use of tabs and spaces in indentation这样的错误,无论怎么重新输入都不起作用。 原因是 代码中有tab和空格混合使用的情况,只是你看不到 解决方法: 1.如果是在subline text中 在user那里加上 "draw_
相关文章
相关标签/搜索