csv module usage in w2k -> lineterminator in dialect?

Skip Montanaro skip at pobox.com
Thu Feb 5 16:52:25 CET 2004


    Teuvo> If I use:
    Teuvo> lineterminator = '\n' in the dialect
    Teuvo> the file ends get's generated in hex: 0D OA  (Carriadge return, new
    Teuvo> line)

Make sure you open the file with the 'b' flag.

Skip




More information about the Python-list mailing list