os.popen--which one to use?

Robert Kern robert.kern at gmail.com
Wed Apr 4 13:19:21 EDT 2007


Kevin Walzer wrote:
> danmcleran at yahoo.com wrote:
>> Check out subprocess. It's meant to be a replacement for all of the
>> above.
> 
> OK, I've done this. What is the benefit of subprocess?

Code that will work on most platforms and into the Python 3.0, when the popen*
zoo will disappear in favor of subprocess.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list