初学python使用notepad++写代码出现报错:
1.python:TabError: inconsistent use of tabs and spaces in indentation
在一个方法体里面使用了tab和空格两种进行缩进,改为同一种就行。
2.takes no arguments
init两边各有两个“_”
初学python使用notepad++写代码出现报错:
1.python:TabError: inconsistent use of tabs and spaces in indentation
在一个方法体里面使用了tab和空格两种进行缩进,改为同一种就行。
2.takes no arguments
init两边各有两个“_”