Writing to CSV from String or List:
*
Appending a String as a newline in a CSV file
def append_to_csv(input_string):
with open("fileName.csv", "a") as csv_file:
csv_file.write(input_row + "\n")