os.popen--which one to use?

Kevin Walzer kw at codebykevin.com
Wed Apr 4 12:06:27 EDT 2007


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? Improved 
performance? It doesn't seem that way--in fact, os.popen has a 
non-blocking mode, which subprocess seems to lack.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list