Nick Craig-Wood enlightened us with:
> If these are unix machines then I would use ssh/scp.
>
> Use scp to copy the script to /tmp then run it and collect the output
> with ssh (and os.popen/subprocess)

I'd use ssh only. Just give a 'cat > /tmp/myscript.sh' command, then
output the contents of the script, followed by CTRL+D. That also
enables you to get the output directly (by giving the result of the
script on stdout) instead of having to create an FTP server too.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to