[Python-Dev] Re: [Csv] csv module and universal newlines

Skip Montanaro skip at pobox.com
Thu Jan 13 03:39:41 CET 2005


    Jack> On MacOSX you really want universal newlines. CSV files produced
    Jack> by older software (such as AppleWorks) will have \r line
    Jack> terminators, but lots of other programs will have files with
    Jack> normal \n terminators.

Won't work.  You have to be able to write a Windows csv file on any
platform.  Binary mode is the only way to get that.

Skip



More information about the Python-Dev mailing list