messageboardfan1 at yahoo.com
Thu Sep 25 15:19:36 CEST 2003
I get that weird error when I tried to run the little loop, this is what it
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?
thanx in advance
> os.system('xyz') runs in a shell, and when it exits returns its exit
> status. e.g.:
> a=os.system('ls bogus_directory')
> if bogus_directory exists then 'a' = 0, and if not 'a' = 1.
> while 1:
> will run the program xyz, and as soon as xyz exits it will run it again -
> and so on.
More information about the Python-list