Computer Science, asked by kaulinsh8297, 1 year ago

How to handle Python exception in Threads?

Answers

Answered by liza10987654321
0

In the code given below, a thread is started. The thread waits for few seconds and checks for an event and if it is found, it stops, else an Exception is thrown.

I want to catch this Exception and would need help in doing so.

Attachments:
Similar questions