Re: How do I Extract Attachment from Newsgroup Message

2007-05-31 Thread Dave Borne
> I looked for a solution > with mimetools (the way I'd approach it for email) but found nothing. ... > <[EMAIL PROTECTED]>', 'Content-Type: Multipart/Mixed;', ' > boundary="Boundary-00=_A5NJCP3FX6Y5BI3BH890"', 'Date: Thu, ... Playing with data = n.article('116431')[3] and email.mess

Re: How do I Extract Attachment from Newsgroup Message

2007-05-31 Thread kyosohma
On May 31, 8:54 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm parsing NNTP messages that have XML file attachments. How can I > extract the encoded text back into a file? I looked for a solution > with mimetools (the way I'd approach it for email) but found nothing. > > Here's a long sni

How do I Extract Attachment from Newsgroup Message

2007-05-31 Thread [EMAIL PROTECTED]
I'm parsing NNTP messages that have XML file attachments. How can I extract the encoded text back into a file? I looked for a solution with mimetools (the way I'd approach it for email) but found nothing. Here's a long snippet of the message: >>> n.article('116431') ('220 116431 <[EMAIL PROTECTED