##// END OF EJS Templates
split shell.system into shell.system_raw/system_piped...
split shell.system into shell.system_raw/system_piped system_raw calls os.system, system_piped uses pexpect/utils.platform magic use system_raw in Terminal except on Windows and in tests use system_piped elsewhere closes gh-297 closes gh-457

File last commit:

r3690:aafdf2be
r3909:bdb012ce
Show More
task1.py
12 lines | 188 B | text/x-python | PythonLexer
MinRK
translate last remaining old parallel examples
r3690 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()