very strange syntax errors

Peter Otten __peter__ at web.de
Wed Mar 28 14:38:12 EDT 2007


Georg Brandl wrote:

> Peter Otten schrieb:

>> A guess: you may have mixed Unix ("\n") and Windows ("\r\n") newlines.
>> Try to ensure that every line ends with "\r\n".
> 
> That shouldn't be a problem since Python reads source files in universal
> newline mode.

Oops, I should have guessed /that/.

Peter



More information about the Python-list mailing list