What is threading in python? And how does multi threading works? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

What is threading in python? And how does multi threading works?

please help me in understanding the threading concept, how tasks are divided and how multi threading will help to perform tasks quickly with small example code. this will help me in learning this concept. thank you in advance

23rd Sep 2018, 5:56 AM
Sharath
Sharath - avatar
1 Réponse
+ 2
Python Multithreading takes advantage of the various threads on a computers CPU. The different threads will allow you to run applications, concurrently, on each thread. Threads are not cores. A single core CPU can have multiple threads. Multithreading allows programmers to execute several applications and tasks by utilizing this feature
26th Sep 2018, 7:11 PM
Steven M
Steven M - avatar