Python parser problem
Chris Angelico
rosuav at gmail.com
Fri Dec 14 02:48:18 EST 2012
On Fri, Dec 14, 2012 at 6:30 PM, Paul Rudin <paul.nospam at rudin.co.uk> wrote:
> Chris Angelico <rosuav at gmail.com> writes:
>
>> On Fri, Dec 14, 2012 at 6:12 AM, RCU <alex.e.susu at gmail.com> wrote:
>>> Dave,
>>> Thanks for the reply.
>>> The script was originally edited on Windows with proper \r\n endings,
>>
>> It's worth noting that many Windows-based editors and interpreters are
>> quite happy with \n line endings. You may be able to save yourself
>> some trouble by switching everything to Unix newlines.
>
> ... and in particular emacs for windows works well.
>
> (holy wars ensue...)
So do lots of others. In fact, the only editor I've seen that
consistently fails is Notepad.
Actually... that sentence stands alone. The only editor I've seen that
consistently fails is Notepad.
(holy wars are deflected into heaping scorn on an Acceptable Target)
ChrisA
More information about the Python-list
mailing list