<[EMAIL PROTECTED]> wrote
>> i have a long stream of data, represented in hexadecimal
>> form. I need to split it in bytes (by 2 chars each). eg
>> '00010203040506'... -> ['00', '01, '02' ...].
>>
>> So my question is: is there an inverse function of zip, or
>> an easy way to split this long s
<[EMAIL PROTECTED]> wrote
> i have a long stream of data, represented in hexadecimal
> form. I need to split it in bytes (by 2 chars each). eg
> '00010203040506'... -> ['00', '01, '02' ...].
> So my question is: is there an inverse function of zip, or
> an easy way to split this long string in p
hi list,
i have a long stream of data, represented in hexadecimal
form. I need to split it in bytes (by 2 chars each). eg
'00010203040506'... -> ['00', '01, '02' ...].
So my question is: is there an inverse function of zip, or
an easy way to split this long string in pairs (without
indexing in cyc