threads

2 Articles

The 7 things you should NOT use threads for in Python (that every programmer should know)

If you have been writing Python for more than 6 months and you still use threads to make your code faster, this article is going to hurt. Threads in Python do not work like they do in Java or C++.

Python 3 asyncio vs threads vs processes: fetching web pages

First post of a series comparing asyncio, threads and processes in Python 3.4. This one measures how each of them does when downloading a batch of web pages.