Python编程之errorPython脚本运行出现语法错误

来源:互联网 发布:绝地求生淘宝租号开挂 编辑:程序博客网 时间:2024/06/03 18:33

IndentationError: unindent does not match any outer indentation level


运行环境是sublime text2,百度发现是对齐问题。

具体来说是由于有的地方使用了4个空格,有的地方使用了tab键。

代码区直接全选就会看到有的地方是四个点有个地方是一个横线,改一致了就好了。


IndentationError: unexpected indent

没有对齐


阅读全文
0 0