Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read file bytes python

def read_file_bytes(filename):
    with open(filename, 'rb') as f:
        return f.read()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #file #bytes #python
ADD COMMENT
Topic
Name
8+1 =