python 模块的使用

来源:互联网 发布:linux malloc实现原理 编辑:程序博客网 时间:2024/05/16 10:24

html2text

#html2text 是一个 Python 包可以将 HTML 转成 Markdown 格式。import html2texth = html2text.HTML2Text()h.ignore_links = Trueprint h.handle("<p>Hello, <a href='http://earth.google.com/'>world</a>!")
0 0
原创粉丝点击