[newbie] Problem with os.system

Geoff Gerrietts ggerrietts at yahoo.com
Sun Mar 3 17:09:37 EST 2002


Quoting DarkCed (malletc3 at cti.ecp.fr):
> I would like to run a program from a python script (a source for a
> icecast server).
> The program works, but a simple two-line script with os.system('ices')
> does not. I get this message :
> "syntax error near unexpected token".
> 
> If I type "ices" in the same repertory, it works...
> Shall I use another command to run my program ?

By itself, that's not a syntax error. Maybe you should show us the
entire script?

-- 
Geoff Gerrietts <ggerrietts at yahoo.com>
-rw-rw-rw-:  permissions of the beast




More information about the Python-list mailing list