Python trouble

Hi everyone,

I’m using Blender 2.23 to create a project for university. I’ve never used Python before but I want to have the mouse cursor on screen and to be able to control it with mouse movement in a game. The following script is in the Gameblender documentation to display the curser, but I just seem to get a syntax error in the Dos window.
import GameLogic
controller =GameLogic.getcurrentController( )
owner = controller.getOwner( )
showMouse( bool show );

Can anyone please help, as my project is due in, in 1 week.

Thanks alot.

python doesn’t use line ender char, so if you take of the ; it should already work better.

Martin