TypeError: 'str' object is not callable

来源:互联网 发布:七年级英语听力软件 编辑:程序博客网 时间:2024/05/18 03:28

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

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

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