"shell-commands" and python!

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Sep 21 09:47:30 CEST 2001

On Fri, 21 Sep 2001, Mike S wrote:

> how do I execute "shellcommands" in python???
> do I need to use the os module and the system command?

Yes, or you could use popen*().

> Is there any simplier way to do it??

What, os.system('mycmd') isn't simple enough? Yeesh! Programmers these days...

Ignacio Vazquez-Abrams  <ignacio at openservices.net>

More information about the Python-list mailing list