编译Python出现Tab,空格的问题
2013-07-10 15:45
246 查看
我们编译python代码时, 经常出现各种因为tab和空格的问题, 例如:
IndentationError: unindent does not match any outer indentation level
有个简便的办法:用python的IDLE打开python 代码, 选中所有代码, 点击菜单项Format/Untabify Region
相关文章推荐
- 编译Python出现Tab,空格的问题
- 编译Python出现Tab,空格的问题
- 学习Python csv模块遇到AttributeError: module 'csv' has no attribute 'writer'和写入后出现空格问题
- 关于python编译时出现的问题
- C++调用python配置及编译出现的问题
- Python 出现需要使用fPIC重新编译的问题
- python3源码编译安装时make出现问题
- notepad++ c++ python 编译环境中出现的问题及部分解决方案
- Java调用python,出现“无法解析的编译问题,PythonInterpreter无法解析为类型”
- python3出现转码问题的总结
- Python导入Scipy子模块时出现问题(DLL load failed with scipy.optimize)
- Firefox下Input按Tab出现的问题 部分解决方法
- vs2012 编译jsoncpp和使用jsoncpp lib出现的问题
- PIP安装Python的scipy,scrapy等包出现“failed building wheel for xxx”问题解决办法
- [解决问题]asp.net程序编译调试时偶尔出现访问被拒绝的错误
- Python程序编译运行出现错误:IndentationError: unindent does not match any outer indentation level
- [Nutch]编译hadoop出现object[]无法转换为K[]问题解决
- python出现 'ascii' codec can't decode byte 0xXX in position XX: ordinal not in range(128)问题
- PHP源码编译libphp5.so出现Apache2部署laravel缺少Mcrypt模块的问题
- 使用python的 neo4j.v1出现无法连接Neo4j问题