错误: File "C:\Python\pygame\hygy.py", line 104, in <module> File "C:\Python\pygame\hygy.py", line 71, in check_action File "C:\Python\pygameif [actor.x - 16, actor.
我一直在获取TypeError:在我的python中,字符串索引必须是整数。\symptoms.py", line 127, in getConditionfromText if symptom['Name'].lower() == el['label'].lower(): TypeError: string indices must be integers
这是我的代码symtoms.py部件,会产生
在我开始之前,我知道有很多帖子使用相同的标题,我会尽量保持这个帖子的独特性。Exception: TypeError: byte indices must be integers or slices, not str
据我所知,requests_data(api_headers)中的JSON将返回整个JSON对象,从这里,我应该能够<e