import threading def hello_world(*,name): print("Hello, {}".format(name)) t = threading.Thread(target=hello_world,kwargs={"name":"tom"}) t.start()