[python-list] What am I doing wrong here?

Paul Bissex paul.bissex at gmail.com
Fri Jul 9 22:04:00 CEST 2004


Works for me with this change:

  s = """From skip Thu Jul  8 14:50:00 -0500 2004

is mailbox.PortableUnixMailbox supposed to be able to handle ">From" ?

pb


On Fri, 9 Jul 2004 15:15:38 -0400, Paul Bissex <paul.bissex at gmail.com> wrote:
> Hey Skip,
> 
> Either something stripped out the the script or you forgot to insert
> it! Thought you'd want to know.
> 
> pb
> 
> 
> 
> 
> On Fri, 9 Jul 2004 13:48:53 -0500, Skip Montanaro <skip at pobox.com> wrote:
> >
> > Appended to this message is a simple script that uses the
> > mailbox.PortableUnixMailbox class and email.message_from_file function to
> > (attempt to) extract a message from a Unix mbox file.  Unfortunately, it
> > doesn't seem to work correctly.  This code is more-or-less lifted from what
> > spambayes.mboxutils.getmbox() does.  Any clues about what I'm doing wrong?
> >
> > Thanks,
> >
> > Skip
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
> 
> 
> --
> paul bissex, e-scribe.com -- database-driven web development
> 413.585.8095
> 69.55.225.29
> 01061-0847
> 72°39'71"W 42°19'42"N
> 


-- 
paul bissex, e-scribe.com -- database-driven web development
413.585.8095
69.55.225.29
01061-0847
72°39'71"W 42°19'42"N



More information about the Python-list mailing list