Answer the question
In order to leave comments, you need to log in
How to make a delay for a single function and not for the entire code in Python?
The other day I was making a voice assistant in Python and there was a need for the races to turn on the function after a certain time. I wanted to do it through an ordinary sleep (), but unfortunately sleep () suspends the entire program. And now I want to know whether it is possible to implement what I wanted or not in regular Python. Maybe there are some libraries?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question