En Wed, 20 Jun 2007 17:24:27 -0300, John Salerno  
<[EMAIL PROTECTED]> escribió:

> Gabriel Genellina wrote:
>
>> py> from BeautifulSoup import BeautifulSoup
>> py> chaine = """<html>hello</a>world<anytag>ok"""
>> py> soup = BeautifulSoup(chaine)
>> py> soup.findAll(text=True)
>> [u'hello', u'world', u'ok']
>
> Wow. That *is* beautiful. :)

Thanks to Leonard Richardson, the main author.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to