```
def writeToFile(self):
 file= open("C:\\Users\\Gabri\\Pictures\\newInternationalCases.csv", "w", newline='')
 with file:
  write = csv.writer(file);
 write.writerow(self.recordList);

```

This is the code above, my intention is for it to create the file and write to it. The "recordList" is a 2D list that I want to write into the file