Ed Leafe wrote:

I guess I'm a little confused. Why would Python on Windows have an issue with code that uses the value of 'os.linesep' for that platform? I could see if it were written on Linux and run on Windows or vice versa...

I think that it was complaining that some lines ended with \n and others with \r\n in the same file. Some editors will edit a file with \n separators and insert new lines with \r\n separators and not change the existing lines.

I don't know for sure, but I think that as long you are consistent then it does not matter what eol separator you use.

Anyway, this is what Boa says when I throw a .cdxml file at it from yesterday:

"Mixed EOLs detected in test2.cdxml, please use Edit->Convert to fix this problem". Edit->Convert lets you pick a terminator style.


Don.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to