background preloader

Tutorials

Facebook Twitter

Dive Into Python. Basic Threading in Python - Iceweasel. Introduction Threads allow applications to perform multiple tasks at once.

Basic Threading in Python - Iceweasel

Multi-threading is important in many applications, from primitive servers to today's complex and hardware-demanding games, so, naturally, many programming languages sport the ability to deal with threads. This includes Python. However, Python's support for multi-threading is not without limitations and consequences, as Guido van Rossum writes: "Unfortunately, for most mortals, thread programming is just Too Hard to get right.... Distributed NLTK with execnet. (This page has been translated into Spanish by Maria Ramos, and has also been translated into Belorussian) Want to speed up your natural language processing with NLTK?

Distributed NLTK with execnet

Have a lot of files to process, but don't know how to distribute NLTK across many cores? Well, here's how you can use execnet to do distributed part of speech tagging with NLTK.