码迷,mamicode.com
首页 > 编程语言 > 详细

Python文件运行时报TabError: inconsistent use of tabs and spaces in indentation

时间:2018-08-11 23:19:50      阅读:614      评论:0      收藏:0      [点我收藏+]

标签:问题   python   方案   space   nsis   use   pytho   运行   使用   

1. 问题描述

Python文件运行时报TabError: inconsistent use of tabs and spaces in indentation

2. 问题原因

tab 和 space混合使用导致程序错误

3. 解决方案

排查出错地方的格式

Python文件运行时报TabError: inconsistent use of tabs and spaces in indentation

标签:问题   python   方案   space   nsis   use   pytho   运行   使用   

原文地址:https://www.cnblogs.com/HurryXin/p/9461391.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!