import multiprocessing import time import os def whoami(name): print("I\'m %s, in process %s" % (name, os.getpid())) def