[wxPython] Saving to Unix under Windows

How can I make sure my text files are saved as Unix text files and not
DOS text files even if I am under windows? I am talking about the
newline thing.

How can I make sure my text files are saved as Unix text files and not
DOS text files even if I am under windows? I am talking about the
newline thing.

Open the file in binary mode when you write the text out.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!