Bits and bytes?

Guyon Morée gumuz at looze.net
Wed Jun 12 09:40:19 EDT 2002


ok, this might be a strange question.... but i was wondering:

how can i read or write 'bits'?

if i have a string, how can i convert to it's basic 0's and 1's?

and offcourse, the other way around.... let's say i want to store some
bit-sequence(0011101110) to a file.


how do i do this?

thanx,

Guyon





More information about the Python-list mailing list