[Tutor] Hex to Str - still an open issue

Alan Gauld alan.gauld at freenet.co.uk
Sat Feb 5 14:08:06 CET 2005

> > 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

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.

More information about the Tutor mailing list