aleax at aleax.it
Thu Sep 25 16:03:55 CEST 2003
> hey Ed,
> I get that weird error when I tried to run the little loop, this is what
> it says:
> sys:1: DeprecationWarning: Non-ASCII character '\xa0' in file myloop.py on
> line 3, but no encoding declared; see http://www.python.org/peps
> pep-0263.html for details
> File "myloop", line 3
> SyntaxError: invalid syntax
> does it mean anything to you?
Sure! You have a weird character, of hex code A0, somewhere on your
line 3. How it got there, I dunno. Anyway, what you need to do is
remove it -- a good editor should be able to show you exactly where
it is, otherwise just use a small Python script to find that out.
More information about the Python-list