##// END OF EJS Templates
load bundled profiles without having to use 'profile create' or '--init'...
load bundled profiles without having to use 'profile create' or '--init' This lets `ipython profile=math` etc. behave as expected on first use. *only* bundled config files, and not generated ones will be staged in this way. Extra tweak: ProfileDir.copy_config_file returns True on copy, False on no-op.

File last commit:

r3690:aafdf2be
r4122:f256659d
Show More
task1.py
12 lines | 188 B | text/x-python | PythonLexer
from IPython.parallel import Client
rc = Client()
v = rc.load_balanced_view()
rc[:]['d'] = 30
def task(a):
return a, 10*d, a*10*d
ar = v.apply(task, 5)
print "a, b, c: ", ar.get()