Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

threading python

import threading

def worker(argument):
    print(argument)
    return

for i in range(5):
    t = threading.Thread(target=worker, args=[i])
    t.start()
 
PREVIOUS NEXT
Tagged: #threading #python
ADD COMMENT
Topic
Name
8+1 =