How to run shell commands within python

Juho Schultz juho.schultz at helsinki.fi
Thu Feb 16 02:25:15 EST 2006


fileexit wrote:
> How can I execute shell commands from within python.  Specifically, I
> am looking for something like the shell "cat".  But this also made me
> wonder how to execute shell commands anyway, just if i needed to do
> that in the future.
> 
You can use os.system() for that.



More information about the Python-list mailing list