"Wayne" <sri...@gmail.com> wrote
I've searched "Python masking" and various other terms in Google and the python docs and came up with nothing useful.
Try the Using the OS topic in my tutorial. There is a sidebar in there about using the bitwise operators to do masking about half way down.
HTH, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor