Working with Qthreads: PyQt5 tutorial - Part 12

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Excellent example! Not too many people talk about threading so it was good to get a working example to play with.

scotth
Автор

I was looking for a tutorial to get clear picture on QT elements threading . I think this is the simplest and best one to understand. Thanks a lot.

thatss_IT
Автор

Great. I will recommend this to any friend that is working on such stuff, just as I´m doing right now. Another great YouTuber that saves me a better grade for my engineering thesis. Thank you very much!

Lux
Автор

such an underrated channel. I love the style of the videos. TY

magiclake
Автор

this example is simply amazing! thank you so much!! around the internet is full of too much complex examples, this is extremely simple and works perfectly!! 😍

simonescaravati
Автор

Great Video!
Thank you so much!
I'm a beginner in PyQT5.
Could you make a video about Working with multiple tasks.
We can set max threads number to process some amount of tasks.
Example:
- Set 3 Threads
- To process 20 Tasks

dooxar
Автор

Very well explained. Thank you so much.

asadmughal
Автор

That' s a nice video. Thanks a lot <3

rokabana
Автор

I was thinking of having one process/thread send data to the GUI window via a pipe or queue..

Is there any advantage or scenario where using Python's multiprocessing or threading library is better suited.. or will PyQt's QThreadPool always yield better performance? (I understand multiprocessing must pickle things in order to sling them among processes, and bound methods are not picklabe)

The only example code I've been able to find (learnpyqt tutorial's 'Multithreading PyQt using QThreadPool') doesn't show how to have a separate process/thread update the GUI!

bennguyen
Автор

Hi, thanks for the video! I see that when i am pressing the stop buttons before clicking the starts button (only for the first time) there is a crash, how to avoid it?

lucad
Автор

I'm trying to expand on this. It won't recognize gui elements in separate group boxes. How do i incorporate other boxes into this?

Update: it seems to just be working now. Idfk wtf im doing

justinberdell
Автор

There are too many unnecessary codes in the super code. Is it because it was 2 years ago?

돌파장인
Автор

This does not work for me. At the line "self.any_signal.emit(int)" it says "Unresolved attribute reference 'emit' for class 'pyqtSignal'". As I understand it that means that it thinks '.emit()' is not in 'pyqtSignal' class. How can this be? I don't understand how it can recognize 'pyqtSignal' but not see one of its functions. According to the internet .emit() only works with "bound" signals. How do I know if this signal is bound or unbound? I'm on Linux, could that cause a difference?

Update:
I noticed a difference in the code I had and your code. I corrected it and now everything works. It still says "unresolved reference" though, so that still confuses me. But at least it all works now. THANK YOU FOR THE TUTORIAL!!! IT WAS VERY GOOD!!!

justinberdell
Автор

Isn't terminate method not recommended?

yunhao
Автор

great job man, i wish you explain the code, that would be much much better

khaledabdessamed
Автор

Hello thank you for your tutorials!!!!

I try to use your script of socket multiple clients programming on GUI with a button to launch clients. In first time i had a problem my gui crashed because i didn’t use qthread. But now only the first client works when i click to lauchn a second client i have anything or gui crashes. How i can use qthread with the server script? Thank you!

jajagege