I see I can\'t do:
\"%b %b\" % (True, False)
in Python. I guessed %b for b(oolean). Is there something like this?
To update this for Python-3 you can do this
"{} {}".format(True, False)
However if you want to actually format the string (e.g. add white space), you encounter Python casting the boolean into the underlying C value (i.e. an int), e.g.
>>> "{:<8} {}".format(True, False)
'1 False'
To get around this you can cast True as a string, e.g.
>>> "{:<8} {}".format(str(True), False)
'True False'