[EMAIL PROTECTED] wrote:
> Hi
>
> I would appreciate some help. I am trying to learn Python and want to
> use BeautifulSoup to pull some data from tables. I was really psyched
> earlier tonight when I discovered that I could do this
>
> from BeautifulSoup import BeautifulSoup
> bst=file(r"c:\b
On Sat, 20 Sep 2008 20:51:52 -0700 (PDT), [EMAIL PROTECTED] wrote:
[snip]
> from BeautifulSoup import BeautifulSoup
> bst=file(r"c:\bstest.htm").read()
> soup=BeautifulSoup(bst)
> rows=soup.findAll('tr')
> len(rows)
> a=len(rows[0].findAll('td'))
> b=len(rows[1].findAll('td'))
> c=len(rows[2].findA
Hi
I would appreciate some help. I am trying to learn Python and want to
use BeautifulSoup to pull some data from tables. I was really psyched
earlier tonight when I discovered that I could do this
from BeautifulSoup import BeautifulSoup
bst=file(r"c:\bstest.htm").read()
soup=BeautifulSoup(bst)