how to redirect the putput of the
program to a file?

thanks.
"Sebastian Bassi" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> On 17 Mar 2007 17:28:56 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
> wrote:
>> I use os.system() to execute a system command in python.
>> Can you please tell me how can I parse (in python) the output of the
>> os.system()  ?
>
> Maybe you mean to parse the output of the program you run using
> os.system. If this is the case, you should redirect the putput of the
> program to a file (with ">") and then parse that file.
>
> Best,
> SB. 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to