Hello Snake Charmers:

I'm designing a database and am thinking about how to store a number
number of boolean values in one field.

Are there any python resources available that can make setting/unsetting 
bits directly? I used to do that in "C" with preprocessor macros that
made calls like set_bit(vInteger,bit_position) 
and unset_bit(vInteger,bit_position). 

Thanks
tim

-- 
Tim Johnson <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to