python后端错误 python使用str类型转换的时候出现TypeError: ‘str’ object is not callable 解决方案:查看代码中是否定义的str,更换变量名即可解决。python定义变量不要定义str等保留字