With what module can Python handel *.tar.gz file?

Gerhard Häring gerhard.haering at gmx.de
Wed Nov 27 21:01:58 EST 2002


Robin Munn wrote:
> Wang Hanbo <bswhb at 263.net> wrote:
> [snip 205 lines]
> 
> Wow, Outlook Express (or was it Outlook?) really produces some *ugly*
> HTML. 205 lines for a seven-line message? What a waste of bandwidth.
> 
> Anyway, please turn off HTML emails in your mail client before asking
> questions on this newsgroup. Send in Plain Text only -- any other method
> wastes a lot of bandwidth, plus it looks just plain ugly.
> 
> Or better yet: ditch Outlook / Outlook Express and get a better
> mail/news client. (Is mutt available on Windows? What about slrn?)

There are native win32 mutt and slrns available, but I just use the
mutt pkg from the Cygwin package. slrn 0.9.4 (and the latest slang,
which is its only prerequisite) compile OOTB on Cygwin, too.

I use both extensively, with a few Python scripts called from mutt
(sendmail.py for sending mail with SMTP AUTH to the M$ Exchange
server, and query.py to query the M$ Active Directory for email
adresses via ADSI).

> I would have been happy to answer your question, but I didn't want
> to wade through 200+ lines of HTML to do so.

I have customized my slrn via hooks to convert multipart/mixed junk
like this to plain text ;-) And I can tell you that I don't
particularly like the 'slang' language. So I just call a Python script
using the 'email' module from my slang hooks :-) [1]

This way, I can continue refusing to learn eLISP and Emacs and
switching to GNUS;-)

-- Gerhard

[1] Maybe I should finally clean that up and publish it somewhere.



More information about the Python-list mailing list