“cmd.translate” translates the atomic coordinates of atoms in a selection. Alternatively, is modifies the matrix associated with a particular object or object-state.
cmd.translate(list vector, string selection, int state, int
camera, string object)
def translate(vector=[0.0,0.0,0.0], selection="all", state=-1,
camera=1, object=None, object_mode=0):