Merhaba;
Çözüm: Dip notları daha dikkatli okumak gerek.
Footnotes
If newline=''
is not specified, newlines embedded inside quoted fields will not be interpreted correctly, and on platforms that use \r\n
linendings on write an extra \r
will be added. It should always be safe to specify newline=''
, since the csv module does its own (universal) newline handling.
Bu satır
with open(csvfilename, 'w', newline='') as writeFile:
yukarıdaki gibi düzeltildi…