How to get output of command called by os.system()?
clp2 at rebertia.com
Sat Oct 31 07:16:42 CET 2009
On Fri, Oct 30, 2009 at 11:09 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> I need to integrate shell program with python. I'm wondering if there
> is a way get the output of the shell program called by os.system().
You'd probably do better to use the `subprocess` module instead:
More information about the Python-list