I wonder how can I implement MATLAB
fread(fileID,sizeA,precision,skip)
in Python (documentation). There are many advices how to deal with it in case of
fread(fileID,sizeA,precision)
but I need the skip
parameter. So I want to obtain some
def fread(fileID,sizeA,precision,skip):
# some code which do the same thing as matlab fread(fileID,sizeA,precision,skip)
pass
How can it be implemented without symbol-wise reading?