packing hex value for socket.send

Paul Rubin http
Mon Jul 12 09:55:02 CEST 2004


Volkan YAZICI <yazicivo at itu.edu.tr> writes:
> There doesn't exist a `H' code and `*' param. in pythons pack
> function (please correct if i'm wrong), so i stucked in here. I'd be
> so appreciated if somebody could help to fix that problem.

See the docs for the binascii module.  You want the binascii.unhexlify
function, I think.



More information about the Python-list mailing list