I don\'t understand why this simple code
# file: mp.py from multiprocessing import Process import sys def func(x): print \'works \', x + 2 sys.stdou
According to the programming guidelines for multiprocessing, on windows you need to use an if __name__ == '__main__':
if __name__ == '__main__':