Answer the question
In order to leave comments, you need to log in
How to write the results of CSV parsing to a file?
Parsilka works correctly, but I can't write the result to a txt file. Let me know, I'll be very grateful. Python3
import csv
with open('test5.csv') as csvfile:
readCSV = csv.reader(csvfile, delimiter='"')
for row in readCSV:
print(row)
print(row[0],row[1],row[2],row[3],)
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