The threading module was first introduced in Python 1.5.2 as an enhancement of the low-level thread module. The threading module makes working with threads much easier and allows the program to run multiple operations at once. Note that the threads in Python work best with I/O operations, such as downloading resources from the Internet or […]
February 24, 2014 by
Mike Python has a number of different concurrency constructs such as threading, queues and multiprocessing. The threading module used to be the primary way of accomplishing concurrency. A few years ago, the multiprocessing module was added to the Python suite of standard libraries. This article will be focused on the threading module though.
Python comes with a lot of cool concurrency tools builtin, such as threads, Queues, semaphores and multiprocessing. In this article, we'll spend some time learning how to use Queues. A Queue can be used for first-in-first out or last-in-last-out stack-like implementations if you just use them directly. If you'd like to see that in action, […]
February 20, 2010 by
Mike I managed to make it to three talks in the middle session. Here's the list: "508 and You: Taking the Pain out of Accessibility" with Katie Cunningham, "Actors: What, Why, and How" with Donovan Preston and "Python Metaprogramming" with Nicolas Lara. I'll see you after the jump!