Answers for "multiprocessing print does not work"

0

multiprocessing print does not work

from multiprocessing import Process
import sys

def f(name):
    print 'hello', name
    sys.stdout.flush()

...
Posted by: Guest on January-16-2022

Python Answers by Framework

Browse Popular Code Answers by Language