Python Language Appending a String as a newline in a CSV file


Example

def append_to_csv(input_string):
    with open("fileName.csv", "a") as csv_file:
        csv_file.write(input_row + "\n")