from bs4 import BeautifulSoup

soup = BeautifulSoup (open("soupexample12.html"))

final_link = soup.p.a
final_link.decompose()

trs = soup.find_all('tr')

for tr in trs:
    for link in tr.find_all('a'):
        fulllink = link.get ('href')
        print fulllink #print in terminal to verify results

    tds = tr.find_all("td")
    print tds


9305ab1f3116cc7b244bc4b9d8d1a50b4b46b5e1
from bs4 import BeautifulSoup

soup = BeautifulSoup (open("soupexample12.html"))

final_link = soup.p.a
final_link.decompose()

trs = soup.find_all('tr')

for tr in trs:
    for link in tr.find_all('a'):
        fulllink = link.get ('href')
        print fulllink #print in terminal to verify results

    tds = tr.find_all("td")
    print tds

