These docs explain: http://wiki.blender.org/index.php/Doc:2.4/Manual/Game_Engine/Logic/Controllers#Python_Controller regrettably the 2.6x docs miss this info.