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

Diez B. Roggisch deetsNOSPAM at web.de
Mon Sep 13 07:41:20 EDT 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
that.

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

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list