2 ответов
+ 3
A Thread is a "flow" of how the program is executed
Let's say you have your graphical interface with a lot of graphics(1), and a lot of data to work with at the same time(2), and python per se is also running (3), and a game engine (4) and so on.
When you work All together with the same thread is going to be very slow.
So you can create ways to manage all of this with a multithread.
If you are starting programming don't worry about it, almost anything you do are cover, and there are plenty of ways to optimize your programs before multithread.
But eventually you will be doing multithread easily with python.
0
It is when you have multiple processes at once, for example in a game, or a large application