Total Beginner - Extracting Data from a Database Online (Screenshot)

Carlos Nepomuceno carlosnepomuceno at outlook.com
Mon May 27 21:21:07 EDT 2013


----------------------------------------
> Date: Mon, 27 May 2013 17:58:00 -0700
> Subject: Re: Total Beginner - Extracting Data from a Database Online (Screenshot)
> From: logan.c.graham at gmail.com
> To: python-list at python.org
[...]
>
> Oh goodness, yes, I have no clue.

For example:

# to retrieve the contents of all column '# fb' (11th column from the image you sent)

c11 = [tables[0][r][10] for r in range(len(tables[0]))]
#      ----------------                -------------
#      this is the content             this is the quantity
#      of the 11th cell                of rows in table[0]
#      of row 'r' 		 	   		  


More information about the Python-list mailing list