编译Python出现Tab,空格的问题

我们编译python代码时, 经常出现各种因为tab和空格的问题, 例如:

IndentationError: unindent does not match any outer indentation level

有个简便的办法:
用python的IDLE打开python 代码, 选中所有代码, 点击菜单项Format/Untabify Region
原文地址:https://www.cnblogs.com/muzizongheng/p/3173049.html