##// END OF EJS Templates
use App.instance() in launch_new_instance (parallel apps)...
use App.instance() in launch_new_instance (parallel apps) This way later calls to App.instance() will return the running application, whereas calling App() would create an isolated Application object.

File last commit:

r3666:a6a0636a
r3999:2491bfa9
Show More
views.py
14 lines | 192 B | text/x-python | PythonLexer
MinRK
move IPython.zmq.parallel to IPython.parallel
r3666 from IPython.parallel import *
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564
MinRK
updated newparallel examples, moved into docs
r3609 client = Client()
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564
for id in client.ids:
MinRK
update API after sagedays29...
r3664 client[id].push(dict(ids=id*id))
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564
MinRK
update API after sagedays29...
r3664 v = client[0]
v['a'] = 5
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564
MinRK
update API after sagedays29...
r3664 print v['a']
MinRK
added py4science demos as examples + NetworkX DAG dependencies
r3564
remotes = client[:]
print remotes['ids']