Execute a command on remote machine in python

Chris Angelico rosuav at gmail.com
Tue Nov 15 09:10:51 EST 2011


On Tue, Nov 15, 2011 at 11:04 PM, Roark <suhasrm at gmail.com> wrote:
> Hi,
>
> 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.

This looks like a job for SSH.

ChrisA



More information about the Python-list mailing list