On Fri, Oct 30, 2009 at 11:09 PM, Peng Yu <pengyu...@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: http://docs.python.org/library/subprocess.html Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list