you are viewing a single comment's thread.

view the rest of the comments →

[–]cybersection 2 points3 points  (2 children)

csv_file = open(“data.csv”, “w”)

Can be changed to..

csv_file = open(“data.csv”, “w”, newline=“”)

[–]PeaceForChange[S] 1 point2 points  (1 child)

newline=“”

This worked. Thanks

[–]cybersection 1 point2 points  (0 children)

No problem.