+ 2

Thread In Python ??

Can anyone explain what’s threading,why it used and how to use in easy way. Articles over the internet are a little bit confusing for me.

30th Jan 2020, 2:03 PM
m8riix
m8riix - avatar
3 odpowiedzi
+ 4
threading ? its like you have more than worker working at the same time doing their own task. its like working on assignment with your friend and split the task by half. or heating 2 frying pan at once for 2 different dishes. its much efficient than only use 1 pan for 2 dishes
30th Jan 2020, 2:10 PM
Taste
Taste - avatar
+ 1
Maybe a code example will help: https://code.sololearn.com/c3vnjMxf5RL9/?ref=app
30th Jan 2020, 7:52 PM
Tibor Santa
Tibor Santa - avatar
0
See if the explanation makes sense, keeping the language aside. https://www.sololearn.com/Discuss/2063615/?ref=app
30th Jan 2020, 2:15 PM
Avinesh
Avinesh - avatar