Appending a String as a newline in a CSV file
suggest changedef append_to_csv(input_string):
with open("fileName.csv", "a") as csv_file:
csv_file.write(input_row + "\n")
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents