This link may help:
http://love-python.blogspot.com/2008/02/execute-linux-commands-in-python.html
On Feb 23, 10:44 am, Max <[EMAIL PROTECTED]> wrote:
> Is there a Python equivalent of C++'s system()?
>
> TIA
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the help!
--
http://mail.python.org/mailman/listinfo/python-list
Max wrote:
> Is there a Python equivalent of C++'s system()?
More or less. You probably want subprocess.Popen:
>>> import subprocess
>>> subprocess.Popen("echo hello", shell=True)
hello
http://docs.python.org/lib/node533.html#CHILD_LINKS
--
http://mail.python.org/mailman/listinfo/python-lis
On 2008-02-23, Max <[EMAIL PROTECTED]> wrote:
> Is there a Python equivalent of C++'s system()?
The closest thing is probably system().
It's in the os module.
--
Grant
--
http://mail.python.org/mailman/listinfo/python-list
Is there a Python equivalent of C++'s system()?
TIA
--
http://mail.python.org/mailman/listinfo/python-list