##// END OF EJS Templates
some initial tests for newparallel
some initial tests for newparallel

File last commit:

r3609:8d078bcc
r3637:e0abb035
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']