Anyone know a line of code to loop an Action, from the NLA Animator?

this is what i got on the armature so far
import bge
from bge import logic

Get the whole bge scene

Scene = bge.logic.getCurrentScene()
source = Scene.objects

main_arm = source.get(‘Armature’)
Action= “ArmatureAction.003”
Start = 0
end = 10
layer = 1
priority = 1
blendin = 3
mode = 1
layerWeight = 0.0
ipoFlags = 1
speed = 1
cont = logic.getCurrentController()
own = cont.owner
keyboard = logic.keyboard
scene = logic.getCurrentScene()

akey = logic.KX_INPUT_ACTIVE == keyboard.events[bge.events.AKEY]
dkey = logic.KX_INPUT_ACTIVE == keyboard.events[bge.events.DKEY]

right = cont.actuators[‘moveRight’]
left = cont.actuators[‘moveLeft’]

if dkey:
cont.activate(right)

else:
cont.deactivate(right)

if akey:
cont.activate(left)

else:
cont.deactivate(left)