##// END OF EJS Templates
update parallel demos for newparallel
update parallel demos for newparallel

File last commit:

r3609:8d078bcc
r3621:afabc88a
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']