I am a long time Java developer but in my new job, they are using Python =
for unit testing C++ code. Anyway, I use Java at home and decided to =
get Jython at home and use Python (built on C). I will be using it to =
learn Python and to develop a program for parsing and managing mailbox =
(Unix style single files containing lots of emails - like used by =
Thanks for the work,
On Apr 26, 2004, at 5:01 PM, Douglas Drees wrote:
> I am a long time Java developer but in my new job, they are using=20
> Python for unit testing C++ code.=A0 Anyway, I use Java at home and=20
> decided to get Jython at home and use Python (built on C).=A0 I will =
> using it to learn Python and to develop a program for parsing and=20
> managing mailbox (Unix style=A0 single files containing lots of emails =
> like used by Mailman) files.
I'm not sure how well CPython's email package works with Jython, but
I found it to be great for doing that sort of thing in normal Python
(CPython). I've also used Javamail, and it's a bloated, over-engineered
and under-documented mess with a convoluted interface. IMHO.
Recommendation: do your best to get the email package working with
Jython. (I think it uses some of the features -- iterators and/or
generators -- that aren't in Jython yet, but I also think that it
wouldn't take much effort to give that package a more traditional
style of interface.
Or find a Java email package with a cleaner API than Javamail, I'm
sure there are several out there.
-- Doug L.