Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

write results in csv file python

import csv

# open the file in the write mode
f = open('path/to/csv_file', 'w')

# create the csv writer
writer = csv.writer(f)

# write a row to the csv file
writer.writerow(row)

# close the file
f.close()
 
PREVIOUS NEXT
Tagged: #write #results #csv #file #python
ADD COMMENT
Topic
Name
4+5 =