Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
201 B
2
Indexable
# create CSV file and write header row
with open("scraped_data.csv", "w", newline='') as csvfile:
    writer = csv.writer(csvfile)
    writer.writerow(['ISBN', 'Bookname', 'Price', 'Author', 'Editor'])