My jupyter notebook code:
from ipyparallel import Client rc=Client() dview=rc[:] import os dview.apply_sync(os.getpid) >>>[959, 960, 962, 964]