converting data to hex

Mark Harrison mh at pixar.com
Fri Jan 31 13:33:34 EST 2003


Geoff Gerrietts <geoff at gerrietts.net> wrote:
>    value = tuple(map(ord,md5.new(myStr).digest()))

Most excellent...  It was only the ord that I originally
thought I needed, but tuple/map is so slick that now I don't
feel guilty about asking such a dumb question.

Thanks,
Mark

-- 
Mark Harrison
Pixar Animation Studios




More information about the Python-list mailing list