I have 10,000 binaries named like this:
file0.bin
file1.bin
............ ............
file10000.bin
Each of the above files contains exactly 391 float values (1564 bytes per file).
My goal is to scan all files in a python array as quickly as possible. If I open and close each file with a script, it takes a lot of time (about 8 minutes!). Are there any other creative ways to read these FAST files?
I am using Ubuntu Linux and would prefer a solution that can work with Python. Thank.
source
share