Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print from within funciton with multiprocessing

from multiprocessing import Process
import sys

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

...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #funciton #multiprocessing
ADD COMMENT
Topic
Name
5+8 =