Answer the question
In order to leave comments, you need to log in
How to set the maximum execution time of a function in python?
Is it possible to make it so that you call the function and if, say, 5 seconds have passed and there is no answer, then the function execution ends?
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