title: How to convert an HTML table to an array in python
body: <p>I have an html document, and I want to pull the tables out of this document and return them as arrays.  I'm picturing 2 functions, one that finds all the html tables in a document, and a second one that turns html tables into 2-dimensional arrays.</p>
  
  <p>Something like this: </p>
  
  <pre><code>htmltables = get_tables(htmldocument)
  for table in htmltables:
      array=make_array(table)
  </code></pre>
  
  <p>There's 2 catches:
  1.  The number tables varies day to day
  2. The tables have all kinds of weird extra formatting, like bold and blink tags, randomly thrown in.</p>
  
  <p>Thanks!</p>