Re: calling an external program and capturing the output

2009-01-18 Thread Marek Kubica
On Sun, 18 Jan 2009 09:36:59 -0800 (PST) Xah Lee wrote: > See: > > • Making System Calls in Perl and Python > http://xahlee.org/perl-python/system_calls.html You can safely drop the Raw-Strings as they are only needed on Windows when constuction paths and programs with hardcoded paths are rar

Re: calling an external program and capturing the output

2009-01-18 Thread Eric
Thanks guys. That helped point me int he right direction. with your advice on the subprocess module I stumbled upon this posting: http://www.velocityreviews.com/forums/t359866-subprocess-module.html for anyone else that might be interested here is the solution. It simply calls a perl script call

Re: calling an external program and capturing the output

2009-01-18 Thread Xah Lee
On Jan 18, 8:41 am, Eric wrote: > Coming from a perl background I'm new to the Python world. I need to > read a list of values, send each value to an external program and > capture and act on the output of that program. Reading and parsing the > initial values is not a problem but I can't seem to

Re: calling an external program and capturing the output

2009-01-18 Thread Diez B. Roggisch
Eric schrieb: Coming from a perl background I'm new to the Python world. I need to read a list of values, send each value to an external program and capture and act on the output of that program. Reading and parsing the initial values is not a problem but I can't seem to find anything on the sen

calling an external program and capturing the output

2009-01-18 Thread Eric
Coming from a perl background I'm new to the Python world. I need to read a list of values, send each value to an external program and capture and act on the output of that program. Reading and parsing the initial values is not a problem but I can't seem to find anything on the sending to and cap