Fredrik Lundh wrote:
> Phoe6 wrote:
>
> > Have a look at this snippet, I have a file direct.txt and I want to
> > read it as rfc8222.Message() so that I get the Subject: and Mood: as
> > Dict Keys and content separately, but I am unable to get the Content
> > Properly.
>
> because the rfc822.Messa
On 2006-11-30, Phoe6 <[EMAIL PROTECTED]> wrote:
> Hi all,
> Have a look at this snippet, I have a file direct.txt and I want to
> read it as rfc8222.Message() so that I get the Subject: and Mood: as
> Dict Keys and content separately, but I am unable to get the Content
> Properly.
>
fhandle =
Phoe6 wrote:
> Have a look at this snippet, I have a file direct.txt and I want to
> read it as rfc8222.Message() so that I get the Subject: and Mood: as
> Dict Keys and content separately, but I am unable to get the Content
> Properly.
>
fhandle = open('direct.txt','r')
print fhandle.
Hi all,
Have a look at this snippet, I have a file direct.txt and I want to
read it as rfc8222.Message() so that I get the Subject: and Mood: as
Dict Keys and content separately, but I am unable to get the Content
Properly.
>>> fhandle = open('direct.txt','r')
>>> print fhandle.read()
Subject: te