Daniel Nogradi 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/
> 
> And continue here:
> 
> http://www.python.org/doc/lib/os-process.html

You probably should use the subprocess module instead:

http://www.python.org/doc/lib/module-subprocess.html

I've had much better cross-platform results with that.

STeVe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to