Entries tagged with “threading”.


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, see the Hellman article at the end of this post. We’re going to mix threads in and create a simple file downloader script to demonstrate how Queues work for cases where we want concurrency. (more…)

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! (more…)