I
I
Ivan2017-03-21 10:12:20
Python
Ivan, 2017-03-21 10:12:20

How to call a function declared in the second thread from the first?

I created two threads in one of which listens to the microphone for voice recognition in an infinite loop, and in the second, the GUI is drawn on PYQT5.
Now I need to somehow call the function declared in the second thread from the first one.
o_o how to do it?
I am using Python 3.6, PyQT 5

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