Re: simple Question about using BeautifulSoup

2008-08-23 Thread Aahz
In article <[EMAIL PROTECTED]>, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: >On Wed, 20 Aug 2008 07:33:32 -0700 (PDT), Alexnb <[EMAIL PROTECTED]> wrote: >> >>Okay, I have used BeautifulSoup a lot lately, but I am wondering, how do you >>open a local html file? >> >>Usually I do something like t

Re: simple Question about using BeautifulSoup

2008-08-20 Thread Jean-Paul Calderone
On Wed, 20 Aug 2008 07:33:32 -0700 (PDT), Alexnb <[EMAIL PROTECTED]> wrote: Okay, I have used BeautifulSoup a lot lately, but I am wondering, how do you open a local html file? Usually I do something like this for a url soup = BeautifulSoup(urllib.urlopen('http://www.website.com') urllib.u

Re: simple Question about using BeautifulSoup

2008-08-20 Thread Diez B. Roggisch
Alexnb wrote: > > Okay, I have used BeautifulSoup a lot lately, but I am wondering, how do > you open a local html file? > > Usually I do something like this for a url > > soup = BeautifulSoup(urllib.urlopen('http://www.website.com') > > but the file extension doesn't work. So how do I open on

Re: simple Question about using BeautifulSoup

2008-08-20 Thread Grzegorz Staniak
On 2008-08-20, Alexnb <[EMAIL PROTECTED]> wroted: > Okay, I have used BeautifulSoup a lot lately, but I am wondering, how do you > open a local html file? > > Usually I do something like this for a url > > soup = BeautifulSoup(urllib.urlopen('http://www.website.com') > > but the file extension doe

simple Question about using BeautifulSoup

2008-08-20 Thread Alexnb
this message in context: http://www.nabble.com/simple-Question-about-using-BeautifulSoup-tp19069980p19069980.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list