SyntaxFix
Write A Post
Hire A Developer
Questions
You could use numpy.fromfile, which can read data from both text and binary files. You would first construct a data type, which represents your file format, using numpy.dtype, and then read this type from file using numpy.fromfile.
numpy.fromfile
numpy.dtype