The below code test-mt-pyqt5.py is taken from https://www.learnpyqt.com/tutorials/multithreading-pyqt-applications-qthreadpool/ ; what it does, is that it shows
test-mt-pyqt5.py