PyEPL
Michael Kahana has recently (2006) released a free Python-based Experiment Programming Library (PyEPL) to facilitate the development of computer-controlled cognitive tasks. The PyEPL is free software (under LGPL) and works on both Mac OSX and Linux. In addition to most standard experimental functions (e.g., timing, screen synchronization,etc.), PyEPL also provides functions for playing and recording sound rendering 3D virtual environments, and synchronizing experimental events with physiological recordings.
The link address is: http://pyepl.sourceforge.net/