Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

thread syntax in python

import threading

def work():
  print("Hello User")
if __name__ == "__main__":  
	thread = threading.Thread(target=work, name='thread-a')
    print("How are you?")
    thread.join()
 
PREVIOUS NEXT
Tagged: #thread #syntax #python
ADD COMMENT
Topic
Name
8+8 =