##// END OF EJS Templates
add scripts for non-setuptools install of zmq.parallel
add scripts for non-setuptools install of zmq.parallel

File last commit:

r3609:8d078bcc
r3634:02c97fef
Show More
views.py
14 lines | 217 B | text/x-python | PythonLexer
from IPython.zmq.parallel.client import *
client = Client()
for id in client.ids:
client.push(dict(ids=id*id), targets=id)
rns = client[0]
rns['a'] = 5
print rns['a']
remotes = client[:]
print remotes['ids']