Computers are designed to help humans or imitate certain behaviors of humans.
Multi-tasking in life: Can people sing and dance while driving? When people drive, they use their hands, feet and eyes to drive a car?
Multi-task programming is such a vivid example. Computers can also realize multi-task programming: for example, you can play games while listening to songs, open a browser to surf the Internet and log in to chat tools such as WeChat and QQ.
So what are the ways to multitask in Python?
Today let’s talk about Python’s multithreaded programming first
There are two different types of threads:
Recommended Posts