Question: spawn and redirection

Peter Hansen peter at engcorp.com
Fri Feb 13 11:27:41 EST 2004


"Ladvánszky Károly" wrote:
> 
> I'd like to redirect the program output into a file.

I'd just us os.system then, as in

 os.system('command >somefile')

-Peter



More information about the Python-list mailing list