[Tutor] Sending a file via email

Don Arnold Don Arnold" <darnold02@sprynet.com
Sat May 31 08:58:02 2003


----- Original Message -----
From: "Magnus Lyckå" <magnus@thinkware.se>
To: "Mike Wagman" <mwagman@charter.net>; <tutor@python.org>
Sent: Saturday, May 31, 2003 7:23 AM
Subject: Re: [Tutor] Sending a file via email


> At 06:17 2003-05-31 -0500, Mike Wagman wrote:
> >I need to send a file via email using python. Possibly on the Linux,
> >Windows, and Mac, Can anyone please give me a piece of sample code that
> >will do that.
>
> Read The Fabulous Manual!
>
> http://www.python.org/doc/current/lib/node397.html
>
>
> --
> Magnus Lycka (It's really Lyck&aring;), magnus@thinkware.se
> Thinkware AB, Sweden, www.thinkware.se
> I code Python ~ The shortest path from thought to working program
>

I think that 'RTFM' often comes off as a rather terse reply. In this case,
however, the Manual undeniably _is_ Fabulous, giving 4 examples of sending
email. I never knew it could be that easy!

Thanks, Magnus.
Don