Re: [Tutor] Grabbing data from changing website

2008-06-06 Thread Sean Novak
easons to use one over the other? Opinions welcome. On Jun 5, 2008, at 3:03 PM, Tony Cappellini wrote: -- Message: 4 Date: Wed, 4 Jun 2008 10:00:46 -0400 From: James <[EMAIL PROTECTED]> Subject: [Tutor] Grabbing data from changing website To: tutor@

Re: [Tutor] Grabbing data from changing website

2008-06-05 Thread Tony Cappellini
-- > > Message: 4 > Date: Wed, 4 Jun 2008 10:00:46 -0400 > From: James <[EMAIL PROTECTED]> > Subject: [Tutor] Grabbing data from changing website > To: tutor@python.org > Message-ID: ><[EMAIL PROTECTED]> > Conte

Re: [Tutor] Grabbing data from changing website

2008-06-04 Thread James
Thanks for the prompt reply, Kent! On Wed, Jun 4, 2008 at 10:26 AM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Wed, Jun 4, 2008 at 10:00 AM, James <[EMAIL PROTECTED]> wrote: > >> Is there a good module to 'grab' data from a page and dump it into a >> data structure? The parsing will likely be ra

Re: [Tutor] Grabbing data from changing website

2008-06-04 Thread Kent Johnson
On Wed, Jun 4, 2008 at 10:00 AM, James <[EMAIL PROTECTED]> wrote: > Is there a good module to 'grab' data from a page and dump it into a > data structure? The parsing will likely be rather easy. :) urllib2 will grab the HTML. BeautifulSoup will parse it and allow fairly easy access. My writeup on

[Tutor] Grabbing data from changing website

2008-06-04 Thread James
All, I'd like to write a script that parses through a website that constantly changes (i.e., stock prices listed on a flat html page). Is there a good module to 'grab' data from a page and dump it into a data structure? The parsing will likely be rather easy. :) Many thanks. :) - james _