IndentationError: unexpected indent python
2016-04-17 21:54
513 查看
之前在ubuntu中的vim中编辑py文件没出这个问题,换了windows,用editplus编辑时运行出现这个异常,网上搜了下是格式问题,在此记录下。至于解决的话就是用空格替代tab。在editplus中“视图=>空白=>制表符”即可显示出来。
相关文章推荐
- 深入理解Python中的__builtin__和__builtins__ 推荐
- Python 练习实例31
- 读python源码--对象模型
- python 2.7 安装MySQLdb模块
- Python 练习实例30
- python XlsxWriter模块创建aexcel表格
- python内置函数
- 【LeetCode-103】Binary Tree Zigzag Level Order Traversal
- 【LeetCode-107】Binary Tree Level Order Traversal II
- 【LeetCode-102】Binary Tree Level Order Traversal
- python的开发环境搭建
- 【LeetCode-94】Binary Tree Inorder Traversal
- 30分钟搭建一个小型网站框架(python django)
- Python 第二章-列表和元组
- 使用Thrift0.9.1实现跨语言调用Golang、Php、Python、Java
- 绘图: Python matplotlib核心剖析
- python查找并删除相同文件-UNIQ File-script版本
- Python在图像处理方向的基本配置
- python查找并删除相同文件-UNIQ File-wxPython版本
- python模拟登陆知乎并爬取数据