【學習筆記】Python中遇到TabError: inconsistent use of tabs and spaces in indentation VS解決辦法

最近在學習Python,將遇到的問題和解決想記錄下來。今天記錄第一篇: 我在使用VS學習Python,在Debug的過程中遇到「 inconsistent use of tabs and spaces in indentation」 百度了一下,原因是寫代碼是Tab和空格的使用混用了; 但是,我一直使用Tab,後來發現,原來VS將我的Tab轉化成了4個空格;繼續Research,找到了VS中的設置
相關文章
相關標籤/搜索