capturing output of os.system() into a list?

Steve Lamb grey at despair.dmiyu.org
Wed Dec 12 20:12:13 EST 2001


On Thu, 13 Dec 2001 01:06:49 GMT, Ron <ron.l.johnson at home.com> wrote:
> Is there a built-in method of doing this?  I can write a function
> to do it, but would rather use the standard method.

    os.popen()

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
    To email: Don't despair!   |  -- Lenny Nero, Strange Days
-------------------------------+---------------------------------------------



More information about the Python-list mailing list