“inconsistent use of tabs and spaces in indentation”

后端 未结 28 2198
北恋
北恋 2020-11-22 00:56

I\'m trying to create an application in Python 3.2 and I use tabs all the time for indentation, but even the editor changes some of them into spaces and then print out \"inc

28条回答
  •  长情又很酷
    2020-11-22 01:32

    I had the same error. I had to add several code lines to an existing *.py file. In Notepad++ it did not work.

    After adding the code lines and saving, I got the same error. When I opened the same file in PyCharm and added the lines, the error disappeared.

提交回复
热议问题