Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 177 Bytes
# coding: utf-8
from bs4 import BeautifulSoup
with open('xml/HD000001.xml') as file:
soup = BeautifulSoup(file, 'html.parser')
ab = soup.ab
ab_text = ab.get_text()