Skip to content

Python code snippet – How to use xml parse in beautifulsoup?

import lxml    #pip install lxml

soup = BeautifulSoup('html_file', 'lxml')
See also  Flatten a list of lists in Python

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.