In Python 3, one can format a string like:
\"{0}, {1}, {2}\".format(1, 2, 3)
But how to format bytes?
b\"{0}, {1}, {2}\".fo
I found the %b working best in Python 3.6.2, it should work both for b"" and "":
%b
print(b"Some stuff %b. Some other stuff" % my_byte_or_unicode_string)