Sep-23-2020, 02:33 PM
Instead of appending, read the file in memory, skip/remove the lines at the top of the file and then add new data. Overwrite the existing file.
This said using sqlite3 database may be more convenient to work with than csv/txt file
This said using sqlite3 database may be more convenient to work with than csv/txt file
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs