OS specific command in Python
Robert Kern
robert.kern at gmail.com
Tue Jun 20 02:04:44 EDT 2006
diffuser78 at gmail.com wrote:
> I want to write a python program and call OS specific commands in it.
> So basically, instead of typing in on the command line argument I want
> to have it in a python program and let it do the action.
>
> for example. in my program I would want to call the ssh feature like
> one does on the command line
>
> ssh Admin at 192.168.2.10 .....etc
>
> How can I do this easily ?
http://www.python.org/doc/current/lib/module-subprocess.html
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list