[Maya] [Python] Animating vertices


Hello, I’m trying to figure out how to resolve this.
I have a mesh (in the configuration A) in Maya and I want to animate it so that it reaches configuration B. I have a text file that contains all the xyz coordinates of the vertices in the configuration B (the target configuration). Which is the best way to make this animation through Python?