The troubles with pythonwin

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Thu Aug 1 12:14:54 CEST 2002


On Thursday 01 Aug 2002 9:07 am, Gerson Kurz wrote:
> Oh, and one more thing (and this applies to scintilla & scite, too):
>
> I'm working on windows, so every newline in a python source is \r\n
> ["CRLF" if you turn on "View\End of line"]. Every now and then a LF
> gets lost when editing in Pythonwin, so the line ends in CR, and
> python complains about invalid line syntax.

At least on SciTE if you edit the global options file looking for

# Behaviour
#eol.mode=LF
#eol.auto=1


You should be able to set it to whatever you want. (untested as I use Linux - 
and Linux has _proper_ line endings <wink>)





More information about the Python-list mailing list