commands module for windows
Chris Rebert
clp2 at rebertia.com
Wed Dec 2 01:12:09 EST 2009
On Tue, Dec 1, 2009 at 10:05 PM, M Kumar <tomanishkb at gmail.com> wrote:
> Is there any python module for windows which is equivalent to commands
> module in linux?
`subprocess` should work: http://docs.python.org/library/subprocess.html
The `commands` docs even say:
"The subprocess module provides more powerful facilities for spawning
new processes and retrieving their results.
Using the subprocess module is preferable to using the commands module."
Cheers,
Chris
--
http://blog.rebertia.com
More information about the Python-list
mailing list