FW: Re: e-mailing multiple values

Ian Clark turbana at gmail.com
Tue May 8 19:57:23 EDT 2007


On 5/8/07, axjacob at comcast.net <axjacob at comcast.net> wrote:
> Thanks.
> That does help. When teh script sends a mail of the list item(all_data), the data shows up like this:
>
> [('   Ham                \n', '   eggs                         \n'),
> ('   chicken              \n', '   thighs                     \n')]
>
> So I have to figure out a way to cleanup the content
>
> Thanks
> Anil

Have to run, but look at strip() on string objects.

Ian



More information about the Python-list mailing list