TypeError: 'str' object is not callable

  

python 報錯 TypeError: 'str' object is not callable

原因是我的一個變量名和python api的某個函數名一樣,導致

檢查你的代碼中變量的名字,看有沒有變色的,就是設別爲底層函數的即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章