X-Received: by 10.224.59.205 with SMTP id m13mr12011106qah.7.1369532005665; Sat, 25 May 2013 18:33:25 -0700 (PDT) X-Received: by 10.50.29.17 with SMTP id f17mr522052igh.7.1369532005408; Sat, 25 May 2013 18:33:25 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!ch1no1153979qab.0!news-out.google.com!y6ni51599qax.0!nntp.google.com!t14no776534qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Sat, 25 May 2013 18:33:25 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=64.134.235.102; posting-account=aVGMWgkAAAB6mGKt34gyuFhFeGnfZNcf NNTP-Posting-Host: 64.134.235.102 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Total Beginner - Extracting Data from a Database Online (Screenshot) From: John Ladasky Injection-Date: Sun, 26 May 2013 01:33:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.python:46025 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 matching? Logan did say he was a "total beginner." :^)