The binary value is the same as the hex value.
The binary representation is 000111110100, but
unfortunately Python doesn't support binary in
its string formatting(although it does in int()!

Uh, question. Why not? It seems that all simple types should be included.
Since the computer stores it as binary, why shouldn't python be able to display a
string of it in binary? That seems to be a short coming that should be added to the
next release... IMHO of course.
Jacob Schmidt


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to