newbie script
ataraxia2500
messageboardfan1 at yahoo.com
Thu Sep 25 11:13:35 EDT 2003
More information about the Python-list mailing list
Thu Sep 25 11:13:35 EDT 2003
- Previous message (by thread): newbie script
- Next message (by thread): Snakeoil alert (was Re: newbie script)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Peter Otten wrote: > 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 myloop.py >> on line 3, but no encoding declared; see http://www.python.org/peps >> 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 > why. > > 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. > > Peter what editor do u use? I'm using kedit and kwrite
- Previous message (by thread): newbie script
- Next message (by thread): Snakeoil alert (was Re: newbie script)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list