Articles → Python → Find The Length Of A Byte Array In PythonFind The Length Of A Byte Array In PythonIn this article, we will find the length of a byte array in Python.Example We will use the len function to find the length of a byte array.arr = bytearray(b"Test") print("Length of an array:", len(arr))Output Posted By - Karan Gupta Posted On - Tuesday, May 7, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
arr = bytearray(b"Test") print("Length of an array:", len(arr))
Query/Feedback