On Sat, Feb 13, 2010 at 12:58 PM, David Abbott <[email protected]> wrote:
> <snip> > I don't understand the l>>24 & 255. > > from the docs; > Right Shift a >> b rshift(a, b) > Bitwise And a & b and_(a, b) > They're binary operations... If you're not familiar, wikipedia or google can find you many sources. In a nutshell: 0110 >> 1 == 0011 0011 >> 1 == 0001 0110 & 0101 == 0100 0100 & 0001 == 0000 HTH, Wayne
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
