Converting a HTML table to a CSV in Python
问题 I am trying to convert a table in HTML to a csv in Python. The table I am trying to extract is this one: <table class="tblperiode"> <caption>Dades de període</caption> <tr> <th class="sortable"><span class="tooltip" title="Període (Temps Universal)">Període</span><br/>TU</th> <th><span class="tooltip" title="Temperatura mitjana (°C)">TM</span><br/>°C</th> <th><span class="tooltip" title="Temperatura màxima (°C)">TX</span><br/>°C</th> <th><span class="tooltip" title="Temperatura mínima (°C)"