Execute a command on remote machine in python
Rodrick Brown
rodrick.brown at gmail.com
Tue Nov 15 10:57:16 EST 2011
You could easily script this with popen calling secure shell to execute a command and capture the output.
Sent from my iPhone
On Nov 15, 2011, at 7:04 AM, Roark <suhasrm at gmail.com> wrote:
> Hi,
>
> I am first time trying my hands on python scripting and would need
> some guidance from the experts on my problem.
>
> I want to execute a windows command within python script from a client
> machine on a remote target server, and would want the output of the
> command written in a file on client machine. What is the way it could
> be achieved.
>
>
> Thanks in advance,
> Roark.
> --
> http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list