Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list to bytes

# Use 'bytes' constructor
a_list = [1, 2, 3]
list_as_bytes = bytes(a_list)
 
PREVIOUS NEXT
Tagged: #python #list #bytes
ADD COMMENT
Topic
Name
4+3 =