Paul Rubin wrote: > > I think there will need to be a format code for truth values: > > ("%b" % True) => "True" There's no need. "%s" % True already yields 'True'. if you want coercion to bool, use "%s" % bool(b). --Guido van Rossum (home page: http://www.python.org/~guido/)