Is there a way around coding in Python without the tab, indent & whitespace criteria?

前端 未结 29 1093
小鲜肉
小鲜肉 2020-12-31 14:05

I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of s

29条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-31 14:35

    All of the whitespace issues I had when I was starting Python were the result mixing tabs and spaces. Once I configured everything to just use one or the other, I stopped having problems.

    In my case I configured UltraEdit & vim to use spaces in place of tabs.

提交回复
热议问题