i have a list with strings, and i want to remove “#” character, how do i do that?

前端 未结 0 1690
忘掉有多难
忘掉有多难 2021-01-18 15:45
def getlinks(allHref, baseurl):
    for tag in allHref:
        links.append(tag.attrs[\'href\']) 
    for i in range(0,len(links)):
        if links[i].startswith(\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题