We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

How do I program using threads?

Be sure to use the threading interface module and not the thread implementation module. The threading module builds convenient abstractions on top of the low-level primitives provided by the thread module.

Aahz has a set of slides from his threading tutorial that are helpful; see:

http://starship.python.net/crew/aahz/OSCON2001/

CATEGORY: library