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

Steve Lamb grey at despair.dmiyu.org
Thu Dec 13 02:12:13 CET 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