I want to implement the following code in more of a pythonic way:
odd_rows = table.findAll('tr', attrs = {'class':'odd'}) #contain all tr tags
even_rows = table.findAll('tr', attrs = {'class':'even'})
for rows in odd_rows: #rows equal 1 <tr> tag
rows.findAll('td') #find all the <td> tags located in that one <tr> tag
for row in rows.findAll('td'): #find one <td> tag
print row #print that <td> tag
for rows in even_rows:
rows.findAll('td')
for row in rows.findAll('td'):
print row
the line row.findAll('td')
shows my logic