Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

threading pass keyword args example

import threading
def hello_world(*,name):
  print("Hello, {}".format(name))
t = threading.Thread(target=hello_world,kwargs={"name":"tom"})
t.start()
 
PREVIOUS NEXT
Tagged: #threading #pass #keyword #args
ADD COMMENT
Topic
Name
2+9 =