上QQ阅读APP看书,第一时间看更新
Multiple hands make light work
Recipe Difficulty: Medium
Python Version: 2.7 or 3.5
Operating System: Any
While Python is known for being single threaded, we can use built-in libraries to spin up new processes to handle tasks. Generally, this is preferred when there are a series of tasks that can be run simultaneously and the processing is not already bound by hardware limits, such as network bandwidth or disk speed.