Popular recipes by Richard Jones http://code.activestate.com/recipes/users/98119/2011-02-27T23:55:26-08:00ActiveState Code RecipesFormatting plain text into columns (Python)
2011-02-27T23:55:26-08:00Richard Joneshttp://code.activestate.com/recipes/users/98119/http://code.activestate.com/recipes/302380-formatting-plain-text-into-columns/
<p style="color: grey">
Python
recipe 302380
by <a href="/recipes/users/98119/">Richard Jones</a>
(<a href="/recipes/tags/text/">text</a>).
Revision 3.
</p>
<p>This code formats a number of columns of text into fixed widths. Each column may also be aligned independently. Whitespace is collapsed, though line breaks are retained (they may optionally be ignored).</p>
Sending multipart MIME email with smtplib and MimeWriter (Python)
2001-03-13T16:52:58-08:00Richard Joneshttp://code.activestate.com/recipes/users/98119/http://code.activestate.com/recipes/52243-sending-multipart-mime-email-with-smtplib-and-mime/
<p style="color: grey">
Python
recipe 52243
by <a href="/recipes/users/98119/">Richard Jones</a>
(<a href="/recipes/tags/network/">network</a>).
</p>
<p>This code constructs a multipart MIME email message and sends it using smtplib.</p>