You can give your writer
instance a custom lineterminator
argument in the constructor:
writer = csv.writer(f, lineterminator="\n")
You can give your writer
instance a custom lineterminator
argument in the constructor:
writer = csv.writer(f, lineterminator="\n")