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



Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250