python IDLE编程时遇到Python Error: Inconsistent indentation detected! 解决方法
2014-03-03 19:51
645 查看
仔细检查了几遍代码,发现indent没有错误!
之后试将所有indent都用空格代替,程序就跑起来了。
具体原因可能是IDLE环境内的Tab键有小bug。
之后试将所有indent都用空格代替,程序就跑起来了。
具体原因可能是IDLE环境内的Tab键有小bug。
相关文章推荐
- Python学习笔记(六)—几个标准类型内建函数
- python之字符串,列表转换截取记录
- Python 中调用命令行命令
- Python 几个重要的内置函数
- Python中的pprint
- python 编码问题
- python学习笔记 一
- python 中文乱码问题深入分析
- python学习1
- python 异常
- python学习链接
- python psutil
- Win7下 Python中文正则的奇异表现
- Python3 的urllib实例
- Python 之 shutil模块
- 字符编码(py)
- python 知识点
- python pandas10分钟入门
- python科学计算学习二:matplotlib绘图(1)
- 转 python 格式化输出