Answer the question
In order to leave comments, you need to log in
How to write to csv on a new line?
Hello! I am writing a string to csv. Here's what happens
13,2да,3нет,4впредкушение,53,654,7русский,13,2да,3нет,4влюбленность,50,62,7русский
13,2да,3нет,4впредкушение,53,654,7русский
13,2да,3нет,4влюбленность,50,62,7русский
with open('document.csv', 'a', newline='') as fd:
fd.write(out)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question