TabError: Inconsistent use of tabs and spaces in indentation
发布时间:2020-12-16 23:52:09 所属栏目:Python 来源:网络整理
导读:问题现象 编辑python文件保存后运行出现如下报错 TabError: Inconsistent use of tabs and spaces in indentation 问题原因 用了tab键作缩进了 解决方法 找到报错的行,使用把Tab都换成空格就好了
问题现象编辑python文件保存后运行出现如下报错 TabError: Inconsistent use of tabs and spaces in indentation 问题原因用了tab键作缩进了 解决方法找到报错的行,使用把Tab都换成空格就好了 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |