Writing Csv With Custom Delimiter
Mon 10 August 2026
import csv
with open("data_pipe.csv", "w", newline="") as file:
writer = csv.writer(file, delimiter="|")
writer.writerow(["Name", "Age", "Country"])
writer.writerow(["John", 35, "India"])
Score: 10
Category: chapter11_csv_handling