*SOLVED* Had to read the file, make the changes, then write it. Thanks everyone! So I'm trying to write a randomizer for books using two csv files (one for fiction and one for nonfiction) and I want the line with the chosen book to be erased from the csv…