in reply to Re: Unpack an 8 bit unsigned char matrix
in thread Unpack an 8 bit unsigned char matrix
Hi BrowserUk! Thanks for the help!
The python code gets the number of rows from a text file that was written when the matrix was written. So for each file, I have a text file that tells me the file size and the number of rows in that file (along with other metadata).
When I use the code above, it gives back one row with 3954 columns. However, most of the files have more than one row of information. Is it truncating the rest? Do I need to use a while loop to only get fileSize/$nRows bytes and process those?