How to send the test cases results in tabular format in html using Python
<p>I am sending daily result mail of passed and fail in Text format.</p>

<p>I want it to be send in Tabular format in HTML format using Python.</p>

<pre><code>============Text I am sending daily===========================

423 EIR DIAMETER IMEI Software Version handling                                 5         5         0         100.0     
424 EIR DIAMETER eirDualImsiUpdateTimestamp                                     2         2         0         100.0     
EIR-Provisioning                                                                47        41        6         87.23     
-------------------------------------------------------------------------------------------------------------------------------------------------
Total Summary                                                                   839       828       11        98.68     
---------------------------------------------------------------------------------------------------------------------------------------------
</code></pre>

<p>According to my understanding of the question.</p>

<p>check this out </p>

<p><a href="http://stackoverflow.com/questions/8356501/python-format-tabular-output">Python format tabular output</a></p>

<p>If you are looking forward for any module Pretty-print tabular data might come handy.</p>

<p>If you want html table try with html module in python. </p>

<p>If you are looking for something else than this, please do mention them.</p>

python python-2.7 python-3.x