[Python-Dev] %b format?

Eric S. Raymond esr@thyrsus.com
Wed, 30 May 2001 17:28:38 -0400


Greg Wilson <Greg.Wilson@baltimore.com>:
> I would like to add a "%b" format for converting
> numbers to binary format (1's and 0's).  I realize
> this isn't a C-ism, but it would be very useful for
> teaching purposes, as newcomers find 101101 a lot
> easier to understand than 0x2D.
> 
> Reactions?

+1.  Didactically pretty useful, and the additional code won't boost
global complexity much.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Where rights secured by the Constitution are involved, there can be no
rule making or legislation which would abrogate them.
        -- Miranda vs. Arizona, 384 US 436 p. 491