Two scripts needed

Hey, I need to do a couple of somewhat simple things but don’t know Python at all. It’s lame but I’m asking if anyone would be willing to write Python scripts for the following things:

  1. A script that sets the position of an object as [0,0,0] when an animation (action) begins.

  2. My game will have animations named suchas

off the top of my head

import GameLogic
cont = GameLogic.getCurrentController
own = cont.getOwner
own.setPosition(0,0,0)

and attach that to the logic brick that starts the animation.

here is a location of how to use python in the game engine and all the commands.
http://www.blender.org/modules/documentation/pydoc_gameengine/PyDoc-Gameengine-2.34/GameLogic-module.html

You forgot the parenthesis after getCurrentController()
and getOwner()
and setPosition([0,0,0]) requires a list
Other than that, it should work.