##// END OF EJS Templates
add DirectView.importer contextmanager, demote targets to mutable flag...
add DirectView.importer contextmanager, demote targets to mutable flag * @require now also takes modules, and will import * IPython.zmq.parallel is the new entrypoint, not client

File last commit:

r3664:e90463ba
r3665:b5b9a12d
Show More
views.py
14 lines | 203 B | text/x-python | PythonLexer
from IPython.zmq.parallel.client import *
client = Client()
for id in client.ids:
client[id].push(dict(ids=id*id))
v = client[0]
v['a'] = 5
print v['a']
remotes = client[:]
print remotes['ids']