Creating and moving a cube

Hi,
another newby question:
I want to create a mesh-object, give it a name, and change
it´s position. Here´s what I tried so far:

m = NMesh.GetRaw()
v=NMesh.Vert(1.0,0.0,0.0)
m.verts.append(v)

f=NMesh.Face()
f.v.append(o.verts[0])

o.faces.append(f)
NMesh.PutRaw(o, “NAME”, 1)
Blender.Redraw()

now, how can I convert this mesh into a real object and move it
around?

I´ve tried the following, but it doesn´t work:

o=Blender.Object.Get(“NAME”)
o.LocX=200

:-?

NMesh.PutRaw will return an object connected to your mesh, so all you have to do is

o=NMesh.PutRaw(o, "NAME", 1) 
o.LocX=200 

Not sure if this works, if the Mesh NAME allready exists.

great!
thx alot.