Mail extraction problem (something's wrong with split methods)

Diez B. Roggisch deetsNOSPAM at
Mon Sep 13 13:41:20 CEST 2004

> This enc_txt is the thingy which is mailed... Do you see any mistakes?

Nope - but the result of that operation should be a stream of ints stored in
a list. Thats ok - but how do you actually _create_ the mail text - do you
use the repr() of the list? That certainly is not a good idea, as that
representation is made for human readability.

Better to use e.g. module struct to create a string out of it, and uuencode

The more interesting code is what you do with your list to actually create
the mail.


Diez B. Roggisch

More information about the Python-list mailing list