Send table as an email body (not attachment ) in Python : <p>My input file is a CSV file and by running some python script which consists of the python Tabulate module, I have created a table that looks like this below:-</p>

<p><a href="http://i.stack.imgur.com/Lmjt1.png" rel="noreferrer">tabulate_output</a>
or </p>

<pre><code>|    Attenuation |   Avg Ping RTT in ms |   TCP UP |
|---------------:|---------------------:|---------:|
|             60 |                2.31  | 106.143  |
|             70 |                2.315 | 103.624  |
</code></pre>

<p>I would like to send the this table in the email body and <strong>not as an</strong> <strong>attachment</strong> using python.</p>

<p>I have created a sendMail function and will be expecting to send the table in the mail_body. 
<code>sendMail([to_addr], from_addr, mail_subject, mail_body, [file_name])
</code></p>
