This topic created in 4345 days ago, the information mentioned may be changed or developed.
就是在sublime下看是正常的,但是运行就提示 unindent does not match any outer indentation level。和 idle打开 看到的不一样
3 replies • 2014-12-13 21:12:09 +08:00
 |
|
把代码选中,缩进不是点点“····”而是横杠“——”的那一行就是出错的地方,改成空格就行了
以后你可以设置View->Indentation->Indent Using Spaces,这样应该不会再出错了
|
 |
|
如果装了lint一般都会报的吧?
|
 |
|
@ ZzFoo 我在pycharm里打开看了一下,提示说是 空格和tab混用了。。。。
|