Generating Meshkeys with Python

Class Key of Blender just has a function named Get, none named New. I try to generate different keys out of a mesh, which has no key yet, and set them as mesh keys. how can i create a new key object?

the script looks somehow like the following:

from Blender import *

def MeshToNMesh(transfer_me,name):
i_loc=0
me_loc=NMesh.New(name)

    for i_loc in range(0,len(transfer_me.verts)):
 me_loc.verts.extend(transfer_me.verts[i_loc].co)
    
   return me_loc

def scaleMesh(scale_me,factor):
i_loc=0

    for i_loc in range(0,len(scale_me.verts)):
          scale_me.verts[i_loc]=scale_me.verts[i_loc]*factor
        
    return scale_me

MAIN

Tri=Mesh.Get(“Tri”)
state_one=MeshToNMesh(Tri,“state_one”)
state_two=MeshToNMesh(Tri,“state_two”)
state_two=scaleMesh(state_two,2)

what i want to do now, is set state_one as basekey and state_two as key 1 or any other name. how?

SORRY stupid question

allready solved the problem