python+sublime indention error:

2021-04-30  本文已影响0人  啊啊啊啊啊1231

If you're writing Python using Sublime and getting indentation errors,

view -> indentation -> convert indentation to spaces

The issue I'm describing is caused by the Sublime text editor. The

same issue could be caused by other editors as well. Essentially, the

issue has to do with Python wanting to treat indentations in terms of

spaces versus various editors coding the indentations in terms of tabs.

上一篇 下一篇

猜你喜欢

热点阅读