I need to be able to periodically add data to the end of a CSV file. Ideally, I would like to do this without reading the entire file into memory.
Is there a way where I can append data to the end of a file?. One solution that occured to me was to simply shell a pipe command from Python, but that seemed too much of an ugly hack. is there a better way to append a line or maybe a few lines to the end of a CSV file?