Mark Bakker wrote: > Thanks, Mike. > This seems to be a really easy way. > One more question. > It turns out my file also contains a character string of 16 characters. > I tried > np.fromfile(fd,np.str,16) > np.fromfile(fd,np.uint8,16).tostring()