Newbie: GameLogic not found

When I run the following script in Blender for MacosX, I get a “ImportError: No module named GameLogic” error in my Console. Do I need to install some kind of python module in my /System directory, or elsewhere?

import GameLogic
cont = GameLogic.getCurrentController()
print cont



“For fast-acting relief, try slowing down.”

OK, I will try to slow down. :smiley:

Thanks for the pointers to the threads containing the answer.