[Csv] csv.writer, file must be binary mode...

Skip Montanaro skip at pobox.com
Wed Feb 12 15:22:48 CET 2003


    Andrew> A posting by Tim Peters on the Python list reminded me that
    Andrew> csv.writer() is not the only module that requires it be passed a
    Andrew> file in binary module - Pickle is classic example.

Thanks for the tip.  I'll mention this in the PEP.

Skip


More information about the Csv mailing list