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: testing
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.read()
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 =
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.Message parser