title: How to replace or delete None at parser(python)
body: <p>When I'm parsing a website with BeautifulSoup I get:</p>
  
  <pre><code>None
  offer_15542518
  None
  None
  None
  None
  None
  None
  None
  None
  None
  None
  </code></pre>
  
  <p>The code:</p>
  
  <pre><code>soup = BeautifulSoup(html)
  projects =[]
  table = soup.find('table', class_='objects_items_list')
  for row in table.find_all('tr'):
      internal_id = row.get('id')
      print( internal_id )
  </code></pre>
  
  <p>How to get rid of the <code>None</code>? I need just the id.</p>