📜  beautifulsoup drop tag - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:04.330000             🧑  作者: Mango

代码示例1
soup = BeautifulSoup('

This is a slimy text and I am slimer

') soup.i.decompose() print str(soup) #prints '

This is a slimy text and

'