[IPython-user] pushing/pulling objects between engines

Jonathan Taylor jonathan.taylor@stanford....
Tue Oct 2 12:07:09 CDT 2007


Is it possible to send information between two engines using the 
RemoteController?
I can imagine wanting to do something like the following between two 
engines i and j

a_i, a_j = a_j, a_i

(not proper python syntax of course).

I didn't see an example of this in the tutorial.... other than

 >>> a_i, a_j = rc.pull(i, 'a'), rc.pull(j, 'a')
 >>> rc.push(j, 'a'=a_i); rc.push(i, 'a'=a_j)

Any suggestions?

Thanks,

Jonathan



More information about the IPython-user mailing list