初學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兩邊各有兩個“_”