Run
data = bytearray(b'hello world') # Get memory view of data mv = memoryview(data) print(mv)
Output