wintertone

C#调用python脚本错误:

使用cmd直接运行脚本报错:

TabError: inconsistent use of tabs and spaces in indentation

 

  

 查看日志报错:

Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level

 

 

 

请假别人和查询资料发现python对缩进有严格要求,下图这样是不行的

 

下面是对的

 

 


https://blog.csdn.net/u010444671/article/details/52573470

https://www.crifan.com/python_syntax_error_indentationerror/comment-page-1/

分类:

技术点:

相关文章:

  • 2021-12-04
  • 2021-07-02
  • 2021-05-09
  • 2022-01-14
  • 2019-06-04
  • 2021-10-12
  • 2022-12-23
  • 2021-04-15
猜你喜欢
  • 2022-12-23
  • 2021-08-25
  • 2022-01-09
  • 2021-04-21
  • 2022-02-18
  • 2021-07-30
  • 2021-05-07
相关资源
相似解决方案