Generally, if this error occurs, it is very likely that your variable and your function name are duplicated.
Python中TypeError: ‘str‘ object is not callable
Guess you like
Origin blog.csdn.net/weixin_43560675/article/details/124981399
Ranking