I am using tkinter and python and using speech recong and talkback for that. The problem is I have to create a lot of threads every time I want the function of talkback to call.is there any way to create a single thread and delete it after using it.
Asked
Active
Viewed 25 times
1
-
1Possible duplicate of [How to use threading in Python?](https://stackoverflow.com/questions/2846653/how-to-use-threading-in-python) – Stefan Crain Apr 15 '18 at 15:27
-
@StefanCrain i am lookin for just a function like th.delete() or any thing th.remove whatever....like th,start to start the thread – Sarthak_Bisht Apr 15 '18 at 18:30
-
The thread automatically dies after the task finishes. – Brian Ton Apr 16 '18 at 00:32