On 3/9/06, Einar Næss Jensen <einar.nass.jensen@gmail.com> wrote:
On 3/9/06, Brian Sullivan <briansullivan@gmail.com> wrote:
On 3/9/06, Dieter Maurer <dieter@handshake.de> wrote:
Chris Withers wrote at 2006-3-9 08:10 +0000:
... Really? I find that pretty suprising. Python has never cared about line endings before and I'd be pretty mortified if it started now :-(
Dieter?
It does now -- at least for "FSPythonScripts" when you are on a *nix platform and your files contain DOS lineends.
You then will get (starting with Python 2.4) SyntaxErrors at line ends.
Of course, things are different when you are on a Windows platform and your files contain DOS lineends...
Different in what way?
I was experiencing difficulty on a Windows platform. The scripts in question have never seen anything other than Windows.
Are you indicating that the line end issue is not what I was experiencing? _______________________________________________
My guess is that it would be difficult to say anything about that without any errormessages? What did it say in your line 3, and what made you look there?
Something like: invalid syntax (Script (Python), line 3) (in a pink box when the script was opened for editing via the ZMI) Since I saved the script and the problem went away I can't be totally sure.