hex sending

Stoune stoune at gmail.com
Wed Oct 4 04:55:54 EDT 2006


hiroc wrote:
> I want send pairs of hexadecimal characters, abc is only my test hex
> char is real
>

Possibly this code helps to you:

import binascii

binascii.hexlify('hello worlds')

Output: '68656c6c6f20776f726c6473'




More information about the Python-list mailing list