calling an external program and capturing the output
Diez B. Roggisch
deets at nospam.web.de
Sun Jan 18 17:49:06 CET 2009
> 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 capturing from an external program.
> Any suggestions would be greatly appreciated.
See the module subprocess.
More information about the Python-list