I am trying to write a function that, as arguments, receives a list with values and the path to a CSV file. I want to iterate over this list writing each value in a different row of the same column. My problem however is that I neither want to start in the first row nor in the first column but at a specified location in my file. The CSV file already has entries beforehand and this function is supposed to save me some time in opposition to copy-pasting all the values from the list into the separate fields of the file.
I have tried it with a csv.writer and csv.reader. I am using a for loop to iterate over the rows and then using row[column] however then I can not start at a specific row as I want to.
tadeusz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.