title: AttributeError: 'tuple' object has no attribute 'find_all'
body: <p>I am trying to scrape and write output in the same line for each iteration using the following code.</p>
  
  <pre><code>import urllib2
  from bs4 import BeautifulSoup
  import re
  page = urllib2.urlopen("http://www.siema.org/members.html")
  soup = BeautifulSoup(page)
  tds = soup.findAll('td', attrs={'class':'content'})
  for table in zip(*[iter(tds)]*2):
      data = [re.sub('\s+', ' ', text).strip().encode('utf8') for text in table.find_all(text=True) if text.strip()]
      print [','.join(data) for x in data]
  </code></pre>
  
  <p>right now I am getting output like </p>
  
  <pre><code>A K Ponnusamy &amp; Co
  cjm@yahoo.co.in
  Manufacturing of Rough Castings
  Aelenke PL Industrials
  
  All types of Pulleys
  Agri Pump Industries
  
  Submersible Pumpsset Jet Pumps Centrifugal Monoblocks Motor &amp; pumps
  Akshaya Engineering
  
  pumpsets
  Altech Industries
  altech@vsnl.com|www.altechindustries.org
  Engineering College Lab Equipment (FM and Therai lab Equipment)
  Ammurun Foundry
  ammarun@vsnl.com|www.ammarun.com
  Grey Iron &amp; S.G. Iron Rough Castings
  Anugraha Valve Castings Ltd
  anugraha@anugrahavalvecastings.com
  valve &amp; spares
  Apex Bright Bars (Cbe) Pvt Ltd
  apexcbe@sify.com
  </code></pre>
  
  <p>I wanted it to be like </p>
  
  <pre><code>A K Ponnusamy &amp; Co  |cjm@yahoo.co.in  |  Manufacturing of Rough Castings
  Aelenke PL Industrials |    | All types of Pulleys
  </code></pre>