Invoking Unix commands from a Python app
Sybren Stuvel
sybrenUSE at YOURthirdtower.com.imagination
Fri Dec 16 11:34:38 EST 2005
Rob Cowie enlightened us with:
> Ok, I know see that os.spawnl() will suffice. However, how do I
> retrieve the output of the command.
Apparently, os.spawnl() didn't suffice. Check out the popen2 module
and Popen* classes.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
More information about the Python-list
mailing list