Antonio Chay added the comment:
Hello there!
I have the same issue, using CentOS 5.8, I *reversed* this patch:
http://bugs.python.org/issue8205
and now make install works.
A side note: before it failed to compile _multiprocessing, with the patch
reversed now is included.
HTH.
Regards
On Jan 31, 7:09 pm, Paul Rubin http://[EMAIL PROTECTED] wrote:
Antonio Chay [EMAIL PROTECTED] writes:
AAA should be 414141
'AAA'.encode('hex')
8-O
Cool stuff!
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Hello!
I need to transform a string from a file into a hexadecimal
representation, for example:
AAA should be 414141
With perl I do this with:
unpack(H*,AAA)
And with python I got this:
.join([str(hex(ord(x)))[2:] for x in AAA])
But seems a little weird for me.
Is there another way?
Thanks