Reading file bit by bit

Alfred Bovin alfred at bovin.invalid
Mon Jun 7 04:57:53 EDT 2010


Hi all.

I'm working on something where I need to read a (binary) file bit by bit and 
do something depending on whether the bit is 0 or 1.

Any help on doing the actual file reading is appreciated.

Thanks in advance 





More information about the Python-list mailing list