Can anyone point me to a tutorial on bit manipulations (testing and setting) in Python? I'm very clear on the concepts (in a previous lifetime, I used to do systems programming in IBM System/3x0 assembler), but weak on how some things would be approached in Python, and need an orientation.