Processing a HTML file using Python

前端 未结 5 531
半阙折子戏
半阙折子戏 2021-01-26 08:10

I wanted to remove all the tags in HTML file. For that I used re module of python. For example, consider the line

Hello World!

.I want to retain
5条回答
  •  情话喂你
    2021-01-26 09:09

    Beautiful Soup is great for parsing html!

    You might not require it now, but it's worth learning to use it. Will help you in the future too.

提交回复
热议问题