Articles → Python → Find The Length Of A Byte Array In Python

Find The Length Of A Byte Array In Python






Example




arr = bytearray(b"Test")

print("Length of an array:", len(arr))



Output


Picture showing the length of the byte array in python



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, May 7, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250