Hey there, and thanks for all your help here, i started getting some values that look like what they are supposed to. Funny, i have been with python for over a year, and just downloaded a hex cheatsheet.
thanks again for all of the help, gents. shawn On 2/23/07, Alan Gauld <[EMAIL PROTECTED]> wrote: > > "shawn bright" <[EMAIL PROTECTED]> wrote > > > if i use i bitmask of 240 it will mask the most significant 4 bits > > When using bitmasks its much easier to think in hex (or octal). > there are exactly 2 hex digits per byte so you only need to think > about each group of 4 bits and its hex bit pattern. It saves a > heap of mental calculations! > > Alan G. > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor