TypeError: 'str' object is not callable

  

python 报错 TypeError: 'str' object is not callable

原因是我的一个变量名和python api的某个函数名一样,导致

检查你的代码中变量的名字,看有没有变色的,就是设别为底层函数的即可

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