Win32file newline character

Robert soundhack at hotmail.com
Wed May 17 02:32:03 CEST 2000


For Windows platforms you need to specify "\r\n" for most programs to
recognize a
"newline"

Robert


traversx.l.kiley at intel.com wrote in message <8fsk4v$air$1 at nnrp1.deja.com>...
>Hello, I'm creating a win32file object to write different strings and
>i'm having trouble figuring out how to start a new line in the file.
>I've tried "\n" and "\012" and "\0" and nothing seems to work. Does
>anyone know how to place a newline into the win32file.WriteFile
>(wHandle, string) method?






More information about the Python-list mailing list