Untitled

 avatar
unknown
plain_text
3 years ago
232 B
6
Indexable
import csv

# open the file in the write mode
with open('test.csv', 'w') as f:
    # create the csv writer
    writer = csv.writer(f)

    # write a row to the csv file
    writer.writerow(['this', 'is', 'a', 'test'])

print('done')
Editor is loading...