How to execute a linux command by python?

Fredrik Lundh fredrik at pythonware.com
Wed Oct 18 11:14:33 EDT 2006


haishan chang wrote:

> How to execute a linux command by python?
> for example: execute "ls"  or "useradd oracle"
> Who can help me?

start here:

     http://www.python.org/doc/lib/

</F>




More information about the Python-list mailing list