On Machine1, I have a Python2.7 script that computes a big (up to 10MB) binary string in RAM that I\'d like to write to a disk file on Machine2, which is a remote machine.
If just calling a subprocess is all you want, maybe sh.py could be the right thing.
from sh import ssh remote_host = ssh.bake() remote_host.dd(_in = , of=)