reading/writing files in windows

sameer sameer_ at
Mon Jun 9 18:25:47 CEST 2003

I create files in windows using python.  I have tried using \n and
\r\n as the return character and they both work fine.  It's when I
move a text file, written by my python program, across a network, open
the file and save to it that all the text becomes jumbled up, and all
return characters are lost.  How can I make it so this doesn't happen?

More information about the Python-list mailing list