On 1-Feb-05, at 4:47 PM, has wrote:
Henning Hraban Ramm wrote:
I'm looking for a better algorithm...
This is probably as terse as it gets:
[snip]
# zip() isn't needed in this direction
def cm0k2bool(s):
return [x != '0' for x in s]--Dethe
"The law I sign today directs new funds and new focus to the task of collecting vital intelligence on terrorist threats and on weapons of mass production." -- George W. Bush
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig
