Как создать qthread в pyqt5

# go to the link below, i've written a script for testing QThread
# it have comments about what it does for different parts of the code
# You can copy and pase it and run it
https://gist.github.com/Orizzu/c95c170bdc88f458aa527986a2c616f6
Jenova