Paul D Ainsworth <[EMAIL PROTECTED]> wrote:
> Greetings everyone. I'm a relative newcomer to python and I have a technical
> problem.
> I want to split a 32 bit / 4 byte unsigned integer into 4 separate byte
> variables according to the following logic: -
> bit numbers 0..7 byte 1
> bit numbers
>
> Have a look at http://aspn.activestate.com/ASPN/Cookbook/Python/
> Recipe/113799
Brilliant - thank you :)
--
http://mail.python.org/mailman/listinfo/python-list
On May 11, 2007, at 4:25 AM, Paul D Ainsworth wrote:
> Greetings everyone. I'm a relative newcomer to python and I have a
> technical
> problem.
>
> I want to split a 32 bit / 4 byte unsigned integer into 4 separate
> byte
> variables according to the following logic: -
>
> bit numbers 0..7 b
Greetings everyone. I'm a relative newcomer to python and I have a technical
problem.
I want to split a 32 bit / 4 byte unsigned integer into 4 separate byte
variables according to the following logic: -
bit numbers 0..7 byte 1
bit numbers 8..15 byte 2
bit numbers 16..23 byte 3
bit numbers 24..