python+excel 实战学习--错误篇

1.错误提示“TabError: inconsistent use of tabs and spaces in indentation”

      错误行有tap标志符,删除前面的,敲空格就行

      例:把for 之前空白的地方,删除,敲空格就行

2. IndentationError: unindent does not match any outer indentation level

        Python语法中是不支持的代码对齐中,混用TAB和空格的。

可参考:https://www.cnblogs.com/kerrycode/p/11183963.html

没有回车,代码就可以通过

猜你喜欢

转载自blog.csdn.net/iamxxdd/article/details/105369971
今日推荐