newbie script

Peter Otten __peter__ at
Thu Sep 25 16:50:17 CEST 2003

ataraxia2500 wrote:

> 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 on
> line 3, but no encoding declared; see
> pep-0263.html for details
>   File "myloop", line 3
>     os.system('/home/joe/src/myprog/myprog')
>     ^
> SyntaxError: invalid syntax
> does it mean anything to you?

The whitespace before os.system() consists of '\xa0' characters, no idea

However, I have noticed that when I copy and paste from KNode 7.2 using
Strg+C/Strg+V instead of the middle mouse button, all '\xa0' are magically
converted back to old '\x20' space characters.


More information about the Python-list mailing list