import typing a: typing.ByteString = b'\xde\xad\xbe\xef' print(a.hex())