Python programmers, help with multithreading?
submitted 1 year ago by fschmidt from (communities.win)
view the rest of the comments →
[–]trident765 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - 1 year ago (1 child)
I briefly learned the await crap to debug this one vendor's library that used it. But once I was done debugging this I unlearned it because I didn't see a point to doing concurrent things this way. In practice I find that most concurrent things can be done with the python threading module:
https://realpython.com/intro-to-python-threading/
For GUI stuff I use QThreads.
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (0 children)
Thanks, this gives the full explanation:
https://realpython.com/python-concurrency/#how-to-speed-up-an-io-bound-program
use the following search parameters to narrow your results:
e.g. sub:pics site:imgur.com dog
sub:pics site:imgur.com dog
advanced search: by author, sub...
~1 user here now
Links:
view the rest of the comments →
[–]trident765 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 0 fun3 insightful - 1 fun - (1 child)
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)