[[XML]], [[HTML]] [[Parsing]]을 위한 [[Python]] 모듈. invaliad한 문서형식도 가능.
http://www.crummy.com/software/BeautifulSoup/
예제들
{{{#!python
from BeautifulSoup import BeautifulSoup
soup = BeautifulSoup(html_string)
for tr in soup.findAll('tr')
print tr.find('th').contents+ [c.contents[0] for c in tr.findAll('td')]
}}}
----
CategoryProgramLibrary