Pythonic bit twiddling

Jim Richardson warlock at eskimo.com
Fri Feb 22 18:48:41 EST 2002


On 22 Feb 2002 01:07:51 -0800,
 Paul Rubin <phr-n2002a at nightsong.com> wrote:
> Jim Richardson <warlock at eskimo.com> writes:
>> Thanks, this isn't a bad idea (I am not really python guru, so am easily
>> overwhelmed sometimes :) I will have to think on it. Speed isn't much of
>> an issue, as the data is only 9600 and each packet needs a checksum, and
>> usually, only 8-10 packets a second. 
>>  Another reply mentioned a "byte" operator, but I can't find that
>> anywhere in my python docs. Is it something not in the default setup? 
> 
> That was me.  There's no byte operator.  I was using 'byte' as a
> variable name to denote an integer variable that held an 8-bit number.
> Sorry for the confusion.


Ah, that explained it, you assumed I was competent python programmer,
and failed to read my mind. all your fault :)

-- 
Jim Richardson
	Anarchist, pagan and proud of it
www.eskimo.com/~warlock
    Linux, for when you need to get work done, Or you could just play UT...



More information about the Python-list mailing list