python inconsistent use of tabs and spaces in indentation

来源:互联网 发布:淘宝能看买家退货率吗 编辑:程序博客网 时间:2024/06/05 19:10

由于混用了tab和space

解决办法:把tab换成4个空格,

M1。找个编辑器替换

M2。在python ide选中问题文本后,format->Untabify region->4