infiniti

导航

python IDLE编程时遇到Python Error: Inconsistent indentation detected! 解决方法

仔细检查了几遍代码,发现indent没有错误!

之后试将所有indent都用空格代替,程序就跑起来了。

具体原因可能是IDLE环境内的Tab键有小bug。

posted on 2014-03-03 19:51  infiniti  阅读(974)  评论(0编辑  收藏  举报