[733]TabError: inconsistent use of tabs and spaces in indentation

Why can’t you stop buying 618?From the technical dimension to explore>>>

Problem: taberror: inconsistent use of tabs and spaces in indentation

Reason: Python file mixed with tab and space for format indentation. This is usually done by using tab to indent Python files automatically when you edit them with an external editor

Solution: usually convert tab to 4 spaces

Notepad + + shows tab and space

This article is shared in the blog “Zhou Xiaodong” (CSDN).

Similar Posts: