> Please define more precisely what you mean with "equivalent ascii > string". Strictly speaking, b2a_uu produces an equivalent string in the > sense that running a2b_uu gives you the original string back, but this > is obviously not what you want. In other words, there is 1:1 mapping > between arbitrary binary data and their "UU" representation. > > If you want to get the "P3" format: Use something like > > intvals = [ord(i) for i in d]
Thanks all of you. Your suggestions solved my problem. _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig