7/12/2023 0 Comments Convert txt to dat![]() Step 2 Select 'DATA' Select output DATA or any other format as the conversion result (click the Convert button) Step 3 Download your TXT file After the conversion you can download your DATA file and upload it to Google Drive, Dropbox. 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. Upload TXT file Select files from your computer, Google Drive, Dropbox, URL or by dragging them on the page. 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' 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. |