January 9th, 2005, 05:21 PM
Originally Posted by Strike
Use os.system, commands.getoutput (if you care about just the text output), or one of the popen* modules if you want full control of stdin, stdout, and stderr.
Python 2.4 added a new module called subprocess to the standard library, which was designed as a replacement to the multiple popen* modules. If you have the chance I'd use this it is a big improvement:
programming language development: www.netytan.com – Hula