108,670
社区成员




bd = re.findall(findbd,item)
bd = bd[0].replace('<br(\s+)?/>(\s+)?'," ") #去掉br
for i in bd:
if " " in bd:
bd.remove(" ") #去掉空格
data.append(bd)
报错AttributeError: 'str' object has no attribute 'remove'
这个bd是list类型,它为啥说他是str
求解!!!!!!!!!!!!