Answer the question
In order to leave comments, you need to log in
How to set excel column width?
import csv
with open('test.csv', 'w', newline='') as file:
writer = csv.writer(file, delimiter=';')
writer.writerow(['Name', 'Preview', 'Price', 'URL'])
writer.writerow(["name_of_product", "image_of_product", "price_of_product", "url_of_product"])
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