title: extracting child href to BeautifulSoup list
body: <p>I am learning python and using BeautifulSoup to crawl some webpages. What I am looking to do is find child 'a' of the first 'td', extract the href and add it to the list. How and where can I add the href's to the cell text? </p>
  
  <pre><code>import urllib2
  
  from BeautifulSoup import BeautifulSoup
  
  def listify(table):
      """Convert an html table to a nested list""" 
      result = []
      rows = table.findAll('tr')
      for row in rows:
          result.append([])
          cols = row.findAll('td')
          for col in cols:
              strings = [_string.encode('utf8') for _string in col.findAll(text=True)]
              text = ''.join(strings)
              result[-1].append(text)
      return result
  </code></pre>