Dat files can be created with any application such as Microsoft Access, Microsoft Excel, Microsoft Visual Basic, and other applications that save their data to dat. It is a type of database file and it contains data in a proprietary binary format. Dat files are mainly used by the Windows OS. But after that the R-script does translate the floats to readable data.ĭatavector = with open('validationData.dat.201805271617', "rb") as f:ĭatavector.append(struct. Dat file extension is an abbreviation for Data file. We are now able to get a list of floating point values out of the. Any ideas on how to continue?īased on guidot's reply we tried to work with.struct. It looks lik the script is reading the file, but then it cannot split it by the | character. TypeError: a bytes-like object is required, not 'str' You can double-click on the file to open it. Now we are going to use the files for other purposes end need to convert them to a readable format. dat file holds information about materials and I used on a machine which can display the data. dat file that is completely unreadable in a text-editor.
0 Comments
Leave a Reply. |