“inconsistent use of tabs and spaces in indentation”

后端 未结 28 2184
北恋
北恋 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:17

    If your editor doesn't recognize tabs when doing a search and replace (like SciTE), you can paste the code into Word and search using Ctr-H and ^t which finds the tabs which then can be replace with 4 spaces.

提交回复
热议问题