> > 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.
I agree it has always seemed bizarre that inary is not included but octal is, IMHO binary is more useful as a representation than octal... My guess is brcause the C sprintf() function doesn't support binary... But that shouldn't really be an excuse. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor