A
A
Amridin Nazarov2021-11-04 15:51:37
PyQt
Amridin Nazarov, 2021-11-04 15:51:37

Delay for function from code, using PyQt5?

I am looking for a command to delay a certain function, but the time module and the sleep() command do not work. More precisely, it works, but this command stops the entire code, and not the function itself, for a given number of seconds.
Some time ago, I learned about the QTimer class.
Could you suggest me some commands to solve this problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question