Without seeing the whole document, you could query for all <td> elements with a class attribute specified with
soup.find('td', {'class': True})
which would match <td class="col_red"> but not <td> (no class attribute given).
If you're trying to match <td> elements with a class attribute value beginning with "col_" you could use a lambda expression:
soup.find('td', {'class': lambda x : x.startswith('col_')})
Or something similar.
-e