> Date: Tue, 28 May 2013 07:40:07 +0100
> Subject: RE: Total Beginner - Extracting Data from a Database Online
> (Screenshot)
> From: pconn...@gmail.com
[...]
> >
> > c11 = [tables[0][r][10] for r in range(len(tables[0]))]
>
>
On 28 May 2013 02:21, "Carlos Nepomuceno"
wrote:
>
>
> > Date: Mon, 27 May 2013 17:58:00 -0700
> > Subject: Re: Total Beginner - Extracting Data from a Database Online
(Screenshot)
> > From: logan.c.gra...@gmail.
> Date: Mon, 27 May 2013 17:58:00 -0700
> Subject: Re: Total Beginner - Extracting Data from a Database Online
> (Screenshot)
> From: logan.c.gra...@gmail.com
> To: python-list@python.org
[...]
>
> Oh goodness, yes, I have no clue
On Saturday, May 25, 2013 6:33:25 PM UTC-7, John Ladasky wrote:
> On Friday, May 24, 2013 4:36:35 PM UTC-7, Carlos Nepomuceno wrote:
>
> > #to create the tables list
>
> > tables=[[re.findall('(.*?)',r,re.S) for r in
> > re.findall('(.*?)',t,re.S)] for t in
> > re.findall('(.*?)',page,re.S)]
>
On Friday, May 24, 2013 4:36:35 PM UTC-7, Carlos Nepomuceno wrote:
> #to create the tables list
> tables=[[re.findall('(.*?)',r,re.S) for r in
> re.findall('(.*?)',t,re.S)] for t in
> re.findall('(.*?)',page,re.S)]
>
>
> Pretty simple.
Two nested list comprehensions, with regex pattern matchi
Sorry to be unclear -- it's a screenshot of the webpage, which is publicly
accessible, but it contains sensitive information. A bad combination,
admittedly, and something that'll be soon fixed.
--
http://mail.python.org/mailman/listinfo/python-list
If you are talking about accessing a web page, rather than an image, then what
you want to do is known as 'screen scraping'.
One of the best tools for this is called BeautifulSoup.
http://www.crummy.com/software/BeautifulSoup/
--
http://mail.python.org/mailman/listinfo/python-list
If you are talking about accessing a web page, rather than an image, then you
want to do what is known as screen scraping.
One of the best tools for this is called BeautifulSoup.
http://www.crummy.com/software/BeautifulSoup/
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, May 25, 2013 at 3:32 AM, wrote:
> http://i.imgur.com/KgvSKWk.jpg
>
> What this is is a publicly-accessible webpage...
If that's a screenshot of something that we'd be able to access
directly, then why not just post a link to the actual thing? More
likely I'm thinking it's NOT publicly ac
On 05/24/2013 07:36 PM, Carlos Nepomuceno wrote:
page = urllib2.urlopen("http://example.com/page.html";).read().strip()
#to create the tables list
tables=[[re.findall('(.*?)',r,re.S) for r in re.findall('(.*?)',t,re.S)]
for t in re.findall('(.*?)',page,re.S)]
Pretty simple. Good luck!
ndall('(.*?)',t,re.S)] for t in
re.findall('(.*?)',page,re.S)]
Pretty simple. Good luck!
> Date: Fri, 24 May 2013 10:32:26 -0700
> Subject: Total Beginner - Extracting Data from a Database Online (Screenshot)
> From: logan.c.gra.
On 05/24/2013 01:32 PM, logan.c.gra...@gmail.com wrote:
Hey guys,
I'm learning Python
Welcome.
and I'm experimenting with different projects -- I like learning by doing. I'm
wondering if you can help me here:
na
What this is is a publicly-accessible webpage
No, it's just a jpeg file, an
Hey guys,
I'm learning Python and I'm experimenting with different projects -- I like
learning by doing. I'm wondering if you can help me here:
http://i.imgur.com/KgvSKWk.jpg
What this is is a publicly-accessible webpage that's a simple database of
people who have used the website. Ideally wha
13 matches
Mail list logo