bytearray.hex()
Return a string object containing two hexadecimal digits for each byte in the instance.
>>> bytearray(b'\xf0\xf1\xf2').hex() 'f0f1f2'
New in version 3.5.
bytearray.hex()
Return a string object containing two hexadecimal digits for each byte in the instance.
>>> bytearray(b'\xf0\xf1\xf2').hex() 'f0f1f2'
New in version 3.5.
Please login to continue.