Problem with uudecode

Ville Vainio ville at spammers.com
Tue May 25 15:04:24 EDT 2004


>>>>> "Juho" == Juho Saarikko <sorry at but.no.spam> writes:

    Juho> I made a Python script which takes Usenet message bodies
    Juho> from a database, decodes uuencoded contents and inserts them
    Juho> as Large Object into a PostGreSQL database. However, it
    Juho> appears that the to last few bytes

I skimmed through your program, and noticed that you use binascii
module uuencode/decode. Have you given the "uu" module a try, to see
if it works better?

Also, get rid of "regex" module, it even gives a DeprecationWarning
suggesting switching to "re".

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list