taberror inconsistent use of tabs and spaces in indentation pycharm

来源:互联网 发布:qp个案分析比赛知乎 编辑:程序博客网 时间:2024/06/05 16:49

pycharm编写python代码时,有时从不同的文件复制代码,粘贴后会出错,

taberror inconsistent use of tabs and spaces in indentation pycharm

解决方法是,选择菜单栏:

Edit -> Convert Indents -> To Spaces

阅读全文
0 0
原创粉丝点击