Correct 8-bit ASCII. Sorry about that. I am using Python 2.5.2, which doesn't support bin. If I upgraded how would I go about converting the entire string to 8-bit ASCII?
I appreciate your help. On Tue, Jun 16, 2009 at 3:05 PM, Lie Ryan <lie.1...@gmail.com> wrote: > xchime...@gmail.com wrote: > > Thanks for the reply I would like to print the string in binary > > Man=010011010110000101101110 > > > > What's M in binary? > Nobody knows... > > What's M in encoded in 8-bit ASCII string: > '0b1001101' > Source: bin(ord('M')) > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor >
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor