I have a bytes string,
str = 'string ends with null\x00\x11u\x1ai\t'
and I expect that str should terminate after the word null, because a NULL \x00 follows immediately, however when I print str,
>>> print('string ends with null\x00\x11u\x1ai\t')
string ends with nullui
str doesn't end as I expected, how to make it right?