Then it's probably easiest to simply read line by line, for example append all read (and possibly modified/replaced) lines to a string(list) and then write it back to the file. You cannot remove data from the middle of a file. You have to read it all, modify, and then re-write the file.Originally Posted by npc
Bookmarks