Python出现:TabError: inconsistent use of tabs and spaces in indentation

  • 今天跑爬虫的时候遇到一个小问题
    Python出现:TabError: inconsistent use of tabs and spaces in indentation
    Python出现:TabError: inconsistent use of tabs and spaces in indentation
  • 这个说是制表符出了问题,我查了查,说是用sublime可以看清楚自己有没有打空格和制表符,其实用不用sublime不重要,我突然意识到的改代码用的是Notepad++记事本,这一复制~就的确可能会出现这个问题,于是开个编译器格式化一下就好。
  • 没自己done掉~
    Python出现:TabError: inconsistent use of tabs and spaces in indentation

相关文章:

  • 2021-10-02
  • 2021-06-13
  • 2021-12-25
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
猜你喜欢
  • 2021-06-04
  • 2022-01-13
  • 2021-06-04
  • 2021-09-12
  • 2021-11-22
  • 2021-07-12
相关资源
相似解决方案