Python報錯 TabError: inconsistent use of tabs and spaces in indentation

一、出現原因 在修改python文件的時候,運行程序出現報錯: TabError: inconsistent use of tabs and spaces in indentation 出現這個錯誤是因爲筆者在notepad++ 遇到的都是看似有空格但實際沒有空格引起的。 打開notepad++ 顯示空格選項就知道這個位置是不是真的有空格了。 二、notepad++ 顯示 空格 在notrpad+
相關文章
相關標籤/搜索