![]() 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. 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' dat file in NOtepad++ this is what I ":°êȽ¸ô»YY‚½g *½$S)¼¤“è❏„J¼c1¼$ ¼*‡Ç»½Ú7❏]S¼Ê(Ͻ8«»«=ýÆZ¼:„3» ù¼¦k I have a txt (ascii) file but i wish to convert this file into binary (dat) file using c++ but i am very new in c++ programming.so I juct opend my 2 files:myBinaryfile and myTxtFile but I don't know how to write those data into new dat file.so i want to write a c+ codes that takes in an input containing ascii (. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |